mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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>
This commit is contained in:
parent
979d33d3a7
commit
2c21ac0ae4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue