aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb/dw2102.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/dvb-usb/dw2102.c')
-rw-r--r--drivers/media/usb/dvb-usb/dw2102.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/usb/dvb-usb/dw2102.c b/drivers/media/usb/dvb-usb/dw2102.c
index 7135a3e87b86..2add8c507ec9 100644
--- a/drivers/media/usb/dvb-usb/dw2102.c
+++ b/drivers/media/usb/dvb-usb/dw2102.c
@@ -1490,7 +1490,7 @@ static int dw2102_rc_query(struct dvb_usb_device *d)
1490 if (msg.buf[0] != 0xff) { 1490 if (msg.buf[0] != 0xff) {
1491 deb_rc("%s: rc code: %x, %x\n", 1491 deb_rc("%s: rc code: %x, %x\n",
1492 __func__, key[0], key[1]); 1492 __func__, key[0], key[1]);
1493 rc_keydown(d->rc_dev, key[0], 1); 1493 rc_keydown(d->rc_dev, RC_TYPE_UNKNOWN, key[0], 0);
1494 } 1494 }
1495 } 1495 }
1496 1496
@@ -1511,7 +1511,7 @@ static int prof_rc_query(struct dvb_usb_device *d)
1511 if (msg.buf[0] != 0xff) { 1511 if (msg.buf[0] != 0xff) {
1512 deb_rc("%s: rc code: %x, %x\n", 1512 deb_rc("%s: rc code: %x, %x\n",
1513 __func__, key[0], key[1]); 1513 __func__, key[0], key[1]);
1514 rc_keydown(d->rc_dev, key[0]^0xff, 1); 1514 rc_keydown(d->rc_dev, RC_TYPE_UNKNOWN, key[0]^0xff, 0);
1515 } 1515 }
1516 } 1516 }
1517 1517
@@ -1532,7 +1532,8 @@ static int su3000_rc_query(struct dvb_usb_device *d)
1532 if (msg.buf[0] != 0xff) { 1532 if (msg.buf[0] != 0xff) {
1533 deb_rc("%s: rc code: %x, %x\n", 1533 deb_rc("%s: rc code: %x, %x\n",
1534 __func__, key[0], key[1]); 1534 __func__, key[0], key[1]);
1535 rc_keydown(d->rc_dev, key[1] << 8 | key[0], 1); 1535 rc_keydown(d->rc_dev, RC_TYPE_RC5,
1536 RC_SCANCODE_RC5(key[1], key[0]), 0);
1536 } 1537 }
1537 } 1538 }
1538 1539