]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx231xx: fix i2c debug prints
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 12 Dec 2013 20:41:10 +0000 (17:41 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 08:50:26 +0000 (06:50 -0200)
commit00f7ac8689fe40e51ae93f8c9ae64d8c0d4d838b
tree5f8abcdcb2add8cf5fa1e6bb900dd491bbd2bfdb
parent8149266e802f7a2a01b2d7fded6324270018cffb
[media] cx231xx: fix i2c debug prints

Do not shift the already 7bit i2c address.
Print a message also for write+read transactions.
For write+read, print the read buffer correctly instead of using the write
buffer.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/cx231xx/cx231xx-i2c.c