Commit 39cac375 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] ir-nec-decoder: Report what bit failed at debug msg

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6fd7dba0
...@@ -193,8 +193,8 @@ static int ir_nec_decode(struct rc_dev *dev, struct ir_raw_event ev) ...@@ -193,8 +193,8 @@ static int ir_nec_decode(struct rc_dev *dev, struct ir_raw_event ev)
return 0; return 0;
} }
IR_dprintk(1, "NEC decode failed at state %d (%uus %s)\n", IR_dprintk(1, "NEC decode failed at count %d state %d (%uus %s)\n",
data->state, TO_US(ev.duration), TO_STR(ev.pulse)); data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse));
data->state = STATE_INACTIVE; data->state = STATE_INACTIVE;
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment