media: cec-pin: improve status log
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 1 Mar 2018 07:02:24 +0000 (02:02 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Mar 2018 12:16:21 +0000 (08:16 -0400)
commit2b76e5392d0647c35226b464269b87026578ea83
tree586de0b934227dce68704f1162ded26e94cb7d95
parent865463fc03ed6d1685d19dbef847b0e7abcc7fbf
media: cec-pin: improve status log

Keep track of the number of short or long start bits, the number
of short or long data bits and the number of initiated or detected
low drive conditions.

Show this information in the status debugfs log.

Helpful when debugging, particularly when doing error injection
as well.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-pin-priv.h
drivers/media/cec/cec-pin.c