diff mbox

radio-si470x-common: -EINVAL overwritten in si470x_vidioc_s_tuner()

Message ID 201002182050.41968.tobias.lorenz@gmx.net (mailing list archive)
State RFC
Headers show

Commit Message

Tobias Lorenz Feb. 18, 2010, 7:50 p.m. UTC
None
diff mbox

Patch

--- a/linux/drivers/media/radio/si470x/radio-si470x-common.c	Thu Feb 11 23:11:30 2010 -0200
+++ b/linux/drivers/media/radio/si470x/radio-si470x-common.c	Thu Feb 18 20:31:33 2010 +0100
@@ -748,7 +748,7 @@ 
 		struct v4l2_tuner *tuner)
 {
 	struct si470x_device *radio = video_drvdata(file);
-	int retval = -EINVAL;
+	int retval = 0;
 
 	/* safety checks */
 	retval = si470x_disconnect_check(radio);