]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] stv0367: Refine i2c error trace to include i2c address
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 30 Jul 2015 17:08:51 +0000 (14:08 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 18:55:30 +0000 (15:55 -0300)
commit86a10283e2d5e49b2e1827b0b0720734e7f69ff6
treec139945532587d24b2ae6e869553b90f15461895
parent8853780ec1e37bb91a1ccef9c05e412cb1cfd9e0
[media] stv0367: Refine i2c error trace to include i2c address

When using stv0367 demodulator with STi STB platforms,
we can have easily have four or more stv0367 demods running
in the system at one time.

As typically the b2120 reference design ships with a b2004a daughter
board, which can accept two dvb NIM cards, and each b2100A NIM
has 2x stv0367 demods and 2x NXPs tuner on it.

In such circumstances it is useful to print the i2c address
on error messages to know which one is failing due to I2C issues.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/stv0367.c