diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index 254290975cdb..e6b7f518c56e 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -1893,12 +1893,10 @@ int cx88_tuner_callback(void *priv, int command, int arg) | |||
1893 | switch(core->boardnr) { | 1893 | switch(core->boardnr) { |
1894 | case CX88_BOARD_PINNACLE_PCTV_HD_800i: | 1894 | case CX88_BOARD_PINNACLE_PCTV_HD_800i: |
1895 | if(command == 0) { /* This is the reset command from xc5000 */ | 1895 | if(command == 0) { /* This is the reset command from xc5000 */ |
1896 | /* Reset XC5000 tuner via GPIO pin #2 */ | 1896 | /* Reset XC5000 tuner via SYS_RSTO_pin */ |
1897 | cx_set(MO_GP0_IO, 0x00000400); | 1897 | cx_write(MO_SRST_IO, 0); |
1898 | cx_clear(MO_GP0_IO, 0x00000004); | 1898 | msleep(10); |
1899 | mdelay(200); | 1899 | cx_write(MO_SRST_IO, 1); |
1900 | cx_set(MO_GP0_IO, 0x00000004); | ||
1901 | mdelay(200); | ||
1902 | return 0; | 1900 | return 0; |
1903 | } | 1901 | } |
1904 | else { | 1902 | else { |