summaryrefslogtreecommitdiffstats
path: root/drivers/media/cec
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2017-12-04 03:56:52 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-08 10:39:38 -0500
commit2c21ac0ae457310ec0044e4ff806e677af8253ab (patch)
treea0e913059a2b1353855bd8903f4dc08ffca46c1d /drivers/media/cec
parent979d33d3a7ea6ae76e6fecd457fd6be8c57052c7 (diff)
downloadop-kernel-dev-2c21ac0ae457310ec0044e4ff806e677af8253ab.zip
op-kernel-dev-2c21ac0ae457310ec0044e4ff806e677af8253ab.tar.gz
media: cec-adap: add '0x' prefix when printing status
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>
Diffstat (limited to 'drivers/media/cec')
-rw-r--r--drivers/media/cec/cec-adap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/cec/cec-adap.c b/drivers/media/cec/cec-adap.c
index 98f88c4..91d7280 100644
--- 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;
OpenPOWER on IntegriCloud