]> git.karo-electronics.de Git - linux-beck.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)
commit1134e9d1931cd42980fa7de741c1d4b30e6dd7ca
tree5f8abcdcb2add8cf5fa1e6bb900dd491bbd2bfdb
parent5765f33c6c9ae68c7ad464931d21764911c6e2d1
[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