aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-rw-r--r--drivers/media/video/tuner-xc2028.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index 42dc2c6ccbbf..a9caae1af49d 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -904,9 +904,11 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */,
904 if (rc < 0) 904 if (rc < 0)
905 goto ret; 905 goto ret;
906 906
907 rc = priv->tuner_callback(priv->video_dev, XC2028_RESET_CLK, 1); 907 /* Return code shouldn't be checked.
908 if (rc < 0) 908 The reset CLK is needed only with tm6000.
909 goto ret; 909 Driver should work fine even if this fails.
910 */
911 priv->tuner_callback(priv->video_dev, XC2028_RESET_CLK, 1);
910 912
911 msleep(10); 913 msleep(10);
912 914