aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-22 13:45:20 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:45 -0400
commit1fe8736955515f5075bef05c366b2d145d29cd44 (patch)
treef651b5bf872269ed265fe7e693b7ed919a97d12f /drivers/media/video/tuner-xc2028.c
parent8765561fc88131bbc9a6246010c15b63595ec35e (diff)
V4L/DVB (7260): tuner-xc3028: Don't check return code for clock reset
Only tm6000 needs to be aware when a frequency is being changed. This seems to improve channel change detection. Other bridges don't need this. So, better to discard any errors if this fails, and proceed changing the channels. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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