projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
979d33d
)
media: cec-adap: add '0x' prefix when printing status
author
Hans Verkuil
<hverkuil@xs4all.nl>
Mon, 4 Dec 2017 08:56:52 +0000
(
03:56
-0500)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Fri, 8 Dec 2017 15:39:38 +0000
(10:39 -0500)
It's not clear if the transmit status that is printed when debugging
is enabled is hex or decimal. Add 0x prefix to make this explicit.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-adap.c
patch
|
blob
|
history
diff --git
a/drivers/media/cec/cec-adap.c
b/drivers/media/cec/cec-adap.c
index 98f88c43f62cb14b6ea6e06f34d3f826cdfe2782..91d72805ee5982402904ac2c1099407acf28ca79 100644
(file)
--- a/
drivers/media/cec/cec-adap.c
+++ b/
drivers/media/cec/cec-adap.c
@@
-540,7
+540,7
@@
void cec_transmit_done_ts(struct cec_adapter *adap, u8 status,
unsigned int attempts_made = arb_lost_cnt + nack_cnt +
low_drive_cnt + error_cnt;
- dprintk(2, "%s: status %02x\n", __func__, status);
+ dprintk(2, "%s: status
0x
%02x\n", __func__, status);
if (attempts_made < 1)
attempts_made = 1;