aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/si470x/radio-si470x-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/si470x/radio-si470x-common.c')
-rw-r--r--drivers/media/radio/si470x/radio-si470x-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c
index 47075fc71f11..9927a595b426 100644
--- a/drivers/media/radio/si470x/radio-si470x-common.c
+++ b/drivers/media/radio/si470x/radio-si470x-common.c
@@ -748,7 +748,7 @@ static int si470x_vidioc_s_tuner(struct file *file, void *priv,
748 struct v4l2_tuner *tuner) 748 struct v4l2_tuner *tuner)
749{ 749{
750 struct si470x_device *radio = video_drvdata(file); 750 struct si470x_device *radio = video_drvdata(file);
751 int retval = -EINVAL; 751 int retval = 0;
752 752
753 /* safety checks */ 753 /* safety checks */
754 retval = si470x_disconnect_check(radio); 754 retval = si470x_disconnect_check(radio);