mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 12:07:46 +00:00
[media] ir-rc5-decoder: print where decoding fails
The IR dprintk message that prints a RC5 decoding failure is not much helpful, as it doesn't tell on what bit the error occurred. Add such information, in order to make the debug message more useful. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
d24b69fc6b
commit
32570579cb
@ -178,8 +178,8 @@ again:
|
|||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
IR_dprintk(1, "RC5(x/sz) decode failed at state %i (%uus %s)\n",
|
IR_dprintk(1, "RC5(x/sz) decode failed at state %i count %d (%uus %s)\n",
|
||||||
data->state, TO_US(ev.duration), TO_STR(ev.pulse));
|
data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse));
|
||||||
data->state = STATE_INACTIVE;
|
data->state = STATE_INACTIVE;
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user