summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/frontends/alps_bsru6.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/alps_bsru6.c b/linux/drivers/media/dvb/frontends/alps_bsru6.c
index 67e6520f7..aa4198afd 100644
--- a/linux/drivers/media/dvb/frontends/alps_bsru6.c
+++ b/linux/drivers/media/dvb/frontends/alps_bsru6.c
@@ -696,9 +696,11 @@ int bsru6_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg)
static
int bsru6_attach (struct dvb_i2c_bus *i2c)
{
+ u8 id = stv0299_readreg (i2c, 0x00);
+
dprintk ("%s\n", __FUNCTION__);
- if ((stv0299_readreg (i2c, 0x00)) != 0xa1)
+ if (id != 0xa1 && id != 0x80)
return -ENODEV;
dvb_register_frontend (bsru6_ioctl, i2c, NULL, &bsru6_info);