diff options
author | Jose Alberto Reguero <jareguero@telefonica.net> | 2012-09-08 12:08:22 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-23 16:06:53 -0400 |
commit | aa468cc550ff3e81aef37aca8fdd9a3456ca5f3a (patch) | |
tree | 7f35be474414f368a2f74901b24d904119c4181a /drivers/media/usb/dvb-usb | |
parent | 8f5c997f188bca44121b2be5f39384c2859af6a7 (diff) |
[media] ttusb2: add toggle to the tt3650_rc_query function
This patch add the toggle bit to the tt3650_rc_query function of the ttusb2
driver.
Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb')
-rw-r--r-- | drivers/media/usb/dvb-usb/ttusb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb/ttusb2.c b/drivers/media/usb/dvb-usb/ttusb2.c index e53a1061cb8e..6a50cdea3bce 100644 --- a/drivers/media/usb/dvb-usb/ttusb2.c +++ b/drivers/media/usb/dvb-usb/ttusb2.c | |||
@@ -440,7 +440,7 @@ static int tt3650_rc_query(struct dvb_usb_device *d) | |||
440 | /* got a "press" event */ | 440 | /* got a "press" event */ |
441 | st->last_rc_key = (rx[3] << 8) | rx[2]; | 441 | st->last_rc_key = (rx[3] << 8) | rx[2]; |
442 | deb_info("%s: cmd=0x%02x sys=0x%02x\n", __func__, rx[2], rx[3]); | 442 | deb_info("%s: cmd=0x%02x sys=0x%02x\n", __func__, rx[2], rx[3]); |
443 | rc_keydown(d->rc_dev, st->last_rc_key, 0); | 443 | rc_keydown(d->rc_dev, st->last_rc_key, rx[1]); |
444 | } else if (st->last_rc_key) { | 444 | } else if (st->last_rc_key) { |
445 | rc_keyup(d->rc_dev); | 445 | rc_keyup(d->rc_dev); |
446 | st->last_rc_key = 0; | 446 | st->last_rc_key = 0; |