]> git.karo-electronics.de Git - linux-beck.git/commit
[media] cx23885: fix I2C scan printout
authorAntti Palosaari <crope@iki.fi>
Thu, 11 Dec 2014 18:44:51 +0000 (15:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 30 Dec 2014 12:46:52 +0000 (10:46 -0200)
commit93009ca673394f0bfb99aa8d8e76f3581a2b38e8
tree13125cbd88c768871f80ea1e8505e917e144f440
parenta593f2cfc1b89d0342b82242ed3d31c1a4494f24
[media] cx23885: fix I2C scan printout

1) I2C slave addresses were printed so called 8-bit format. Use
standard 7-bit notation.

2) I2C slave address was printed with hex formatted without leading
zeros, which makes output one digit shorter in a case of address
fit to one hex digit. Use 4 char wide hex number with leading zeros
as usually used for I2C slave addresses.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx23885/cx23885-i2c.c