aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-cards.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2012-06-12 17:19:28 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-21 13:31:10 -0400
commitc8dce0088a645c21cfb7e554390a4603e0e2139f (patch)
tree9720e0dc3fc14f1a528f6fd7c2893f2c59015243 /drivers/media/video/em28xx/em28xx-cards.c
parent729841ed0f41cfae494ad5c50df86af427078442 (diff)
[media] em28xx: Improve support for the Terratec Cinergy HTC Stick HD
The windows driver used different values for the GPIOs and analog decoder configuration. The values from the windows driver are now used. It also seems that the windows driver has LNA always disabled. Thus we are doing the same (using the same flags as on windows). I (only) tested with DVB-T and it worked quite well. [mchehab@redhat.com: Fix merge conflicts and tested with DVB-C] Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Tested-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 20a7e24de6fb..12bc54af431e 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -974,12 +974,8 @@ struct em28xx_board em28xx_boards[] = {
974 [EM2884_BOARD_CINERGY_HTC_STICK] = { 974 [EM2884_BOARD_CINERGY_HTC_STICK] = {
975 .name = "Terratec Cinergy HTC Stick", 975 .name = "Terratec Cinergy HTC Stick",
976 .has_dvb = 1, 976 .has_dvb = 1,
977#if 0 977 .ir_codes = RC_MAP_NEC_TERRATEC_CINERGY_XS,
978 .tuner_type = TUNER_PHILIPS_TDA8290, 978 .tuner_type = TUNER_ABSENT,
979 .tuner_addr = 0x41,
980 .dvb_gpio = terratec_h5_digital, /* FIXME: probably wrong */
981 .tuner_gpio = terratec_h5_gpio,
982#endif
983 .i2c_speed = EM2874_I2C_SECONDARY_BUS_SELECT | 979 .i2c_speed = EM2874_I2C_SECONDARY_BUS_SELECT |
984 EM28XX_I2C_CLK_WAIT_ENABLE | 980 EM28XX_I2C_CLK_WAIT_ENABLE |
985 EM28XX_I2C_FREQ_400_KHZ, 981 EM28XX_I2C_FREQ_400_KHZ,