summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-12-11 10:42:36 +0200
committerPatrick Boettcher <pb@linuxtv.org>2006-12-11 10:42:36 +0200
commit6a77fe8fa75f27e398022ae2e89f45081d5a7250 (patch)
tree9c77cb43a48669eb59728b45a133d2e7940f452c /linux/drivers
parentd03e7017cdb2207b4747af664cbe5e01f613fa3d (diff)
downloadmediapointer-dvb-s2-6a77fe8fa75f27e398022ae2e89f45081d5a7250.tar.gz
mediapointer-dvb-s2-6a77fe8fa75f27e398022ae2e89f45081d5a7250.tar.bz2
[NOVA-T-USB2] Put remote-debugging in the right place
From: Mario Rossi <mariofutire@googlemail.com> This patch removes unnecessary (and misleading) debug output (it printed the values of the keys in the table up to the value of the key pressed). Signed-off-by: Mario Rossi <mariofutire@googlemail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/nova-t-usb2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/nova-t-usb2.c b/linux/drivers/media/dvb/dvb-usb/nova-t-usb2.c
index 8bd6d88ce..f0aadc8a2 100644
--- a/linux/drivers/media/dvb/dvb-usb/nova-t-usb2.c
+++ b/linux/drivers/media/dvb/dvb-usb/nova-t-usb2.c
@@ -90,9 +90,11 @@ static int nova_t_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
deb_rc("raw key code 0x%02x, 0x%02x, 0x%02x to c: %02x d: %02x toggle: %d\n",key[1],key[2],key[3],custom,data,toggle);
for (i = 0; i < ARRAY_SIZE(haupp_rc_keys); i++) {
- deb_rc("c: %x, d: %x\n",haupp_rc_keys[i].data,haupp_rc_keys[i].custom);
if (haupp_rc_keys[i].data == data &&
haupp_rc_keys[i].custom == custom) {
+
+ deb_rc("c: %x, d: %x\n",haupp_rc_keys[i].data,haupp_rc_keys[i].custom);
+
*event = haupp_rc_keys[i].event;
*state = REMOTE_KEY_PRESSED;
if (st->old_toggle == toggle) {