diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-23 12:03:32 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-23 19:22:52 -0200 |
commit | 39cac3758f62c6495d954e0d7dc1ca7e69fa565d (patch) | |
tree | 949f3bcbd298ca876d80509b8b57d0f4a233e336 /drivers/media/rc/ir-nec-decoder.c | |
parent | 6fd7dba026f17076ac4bd63a3590f993c1f5c2c6 (diff) | |
download | op-kernel-dev-39cac3758f62c6495d954e0d7dc1ca7e69fa565d.zip op-kernel-dev-39cac3758f62c6495d954e0d7dc1ca7e69fa565d.tar.gz |
[media] ir-nec-decoder: Report what bit failed at debug msg
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/ir-nec-decoder.c')
-rw-r--r-- | drivers/media/rc/ir-nec-decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/ir-nec-decoder.c b/drivers/media/rc/ir-nec-decoder.c index 63ee722..a825318 100644 --- a/drivers/media/rc/ir-nec-decoder.c +++ b/drivers/media/rc/ir-nec-decoder.c @@ -193,8 +193,8 @@ static int ir_nec_decode(struct rc_dev *dev, struct ir_raw_event ev) return 0; } - IR_dprintk(1, "NEC decode failed at state %d (%uus %s)\n", - data->state, TO_US(ev.duration), TO_STR(ev.pulse)); + IR_dprintk(1, "NEC decode failed at count %d state %d (%uus %s)\n", + data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); data->state = STATE_INACTIVE; return -EINVAL; } |