diff options
author | Igor M. Liplianin <liplianin@tut.by> | 2008-12-04 10:49:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:26 -0500 |
commit | ea023df5f8a6f2f788247a4d8a7d5483c0d9266b (patch) | |
tree | f12b72dc440eb4566b3aa7fc9f2099e8bdd399e7 /drivers/media/dvb/dvb-usb | |
parent | a8782f669c35df585749caadfbae6456d9e3ac98 (diff) |
V4L/DVB (9797): Fix stv0299 support in dw2102 USB DVB-S/S2 driver
register 0x00 contains 0xa1 for STV0299 and STV0299B
register 0x00 might contain 0x80 when returning from standby
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Acked-by: Sergey Silkin <neovision@rambler.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dw2102.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dw2102.c b/drivers/media/dvb/dvb-usb/dw2102.c index bc5e47a2b91..c65f273ff31 100644 --- a/drivers/media/dvb/dvb-usb/dw2102.c +++ b/drivers/media/dvb/dvb-usb/dw2102.c | |||
@@ -660,7 +660,7 @@ static int dw2102_load_firmware(struct usb_device *dev, | |||
660 | /* check STV0299 frontend */ | 660 | /* check STV0299 frontend */ |
661 | dw210x_op_rw(dev, 0xb5, 0, 0, &reset16[0], 2, | 661 | dw210x_op_rw(dev, 0xb5, 0, 0, &reset16[0], 2, |
662 | DW210X_READ_MSG); | 662 | DW210X_READ_MSG); |
663 | if (reset16[0] == 0xa1) { | 663 | if ((reset16[0] == 0xa1) || (reset16[0] == 0x80)) { |
664 | dw2102_properties.i2c_algo = &dw2102_i2c_algo; | 664 | dw2102_properties.i2c_algo = &dw2102_i2c_algo; |
665 | dw2102_properties.adapter->tuner_attach = &dw2102_tuner_attach; | 665 | dw2102_properties.adapter->tuner_attach = &dw2102_tuner_attach; |
666 | break; | 666 | break; |