Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (4956): [NOVA-T-USB2] Put remote-debugging in the right place

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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Mario Rossi and committed by
Mauro Carvalho Chehab
6ccd6017 a821e990

+3 -1
+3 -1
drivers/media/dvb/dvb-usb/nova-t-usb2.c
··· 90 90 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); 91 91 92 92 for (i = 0; i < ARRAY_SIZE(haupp_rc_keys); i++) { 93 - deb_rc("c: %x, d: %x\n",haupp_rc_keys[i].data,haupp_rc_keys[i].custom); 94 93 if (haupp_rc_keys[i].data == data && 95 94 haupp_rc_keys[i].custom == custom) { 95 + 96 + deb_rc("c: %x, d: %x\n",haupp_rc_keys[i].data,haupp_rc_keys[i].custom); 97 + 96 98 *event = haupp_rc_keys[i].event; 97 99 *state = REMOTE_KEY_PRESSED; 98 100 if (st->old_toggle == toggle) {