diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-04 15:49:23 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-04 15:49:23 +0000 |
commit | e9548d6c7e62b32a90ad51b519844be602571b9d (patch) | |
tree | b964d8872427f24a79597dbf784c96fd1b63a4ab /linux/drivers/media/dvb | |
parent | 5be2df264845a545c345c924c23153459140a308 (diff) | |
download | mediapointer-dvb-s2-e9548d6c7e62b32a90ad51b519844be602571b9d.tar.gz mediapointer-dvb-s2-e9548d6c7e62b32a90ad51b519844be602571b9d.tar.bz2 |
Fix stv0299 support in dw2102 USB DVB-S/S2 driver
From: Igor M. Liplianin <liplianin@tut.by>
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 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dw2102.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dw2102.c b/linux/drivers/media/dvb/dvb-usb/dw2102.c index 9b32c9c0a..2b8ee587b 100644 --- a/linux/drivers/media/dvb/dvb-usb/dw2102.c +++ b/linux/drivers/media/dvb/dvb-usb/dw2102.c @@ -672,7 +672,7 @@ static int dw2102_load_firmware(struct usb_device *dev, /* check STV0299 frontend */ dw210x_op_rw(dev, 0xb5, 0, 0, &reset16[0], 2, DW210X_READ_MSG); - if (reset16[0] == 0xa1) { + if ((reset16[0] == 0xa1) || (reset16[0] == 0x80)) { dw2102_properties.i2c_algo = &dw2102_i2c_algo; dw2102_properties.adapter->tuner_attach = &dw2102_tuner_attach; break; |