summary refs log tree commit diff
path: root/drivers/media/usb/dvb-usb-v2
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-03-07 19:03:06 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 19:01:28 -0300
commit1c72fe2679996a125219caaede542ad6913a3539 (patch)
tree661f92b7a34063dcb5c315d00c84818492889be6 /drivers/media/usb/dvb-usb-v2
parentab56ad6ada8c7ff56a4f4b032e79471cb1c3c0fc (diff)
downloadlinux-1c72fe2679996a125219caaede542ad6913a3539.tar.gz
[media] af9035: enable remote controller for IT9135 too
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>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2')
-rw-r--r--drivers/media/usb/dvb-usb-v2/af9035.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c
index 3efb79af4d9b..735646d4f34a 100644
--- a/drivers/media/usb/dvb-usb-v2/af9035.c
+++ b/drivers/media/usb/dvb-usb-v2/af9035.c
@@ -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;