upstream: [media] cx231xx: fix i2c debug prints
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 12 Dec 2013 20:41:10 +0000 (17:41 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:52:49 +0000 (11:52 +0900)
commitf9e47d6a22d9beed80a2cdda9572eb1a30c05272
tree6481c361bc6392e3286b9576a1176a93ff3f5f91
parent6674b0b9c73b98f2c80fadfd4b01877b35eec97c
upstream: [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