[media] af9035: enable remote controller for IT9135 too
authorAntti Palosaari <crope@iki.fi>
Thu, 7 Mar 2013 22:03:06 +0000 (19:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 22:01:28 +0000 (19:01 -0300)
There is no difference towards AF9035 remote controller, so enable it.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/af9035.c

index 3efb79af4d9bda013e5485f4f28158bee92b4696..735646d4f34ab77583c4d47815499da51b012aed 100644 (file)
@@ -1251,10 +1251,6 @@ static int af9035_get_rc_config(struct dvb_usb_device *d, struct dvb_usb_rc *rc)
        int ret;
        u8 tmp;
 
-       /* TODO: IT9135 remote control support */
-       if (state->chip_type == 0x9135)
-               return 0;
-
        ret = af9035_rd_reg(d, state->eeprom_addr + EEPROM_IR_MODE, &tmp);
        if (ret < 0)
                goto err;