Commit 1c72fe26 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] af9035: enable remote controller for IT9135 too



There is no difference towards AF9035 remote controller, so enable it.

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ab56ad6a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;