[media] tc358743: fix register i2c_rd/wr function fix
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 4 May 2017 15:20:17 +0000 (12:20 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 18 May 2017 11:00:56 +0000 (08:00 -0300)
commitf2c61f98e0b5f8b53b8fb860e5dcdd661bde7d0b
treea40942ace5c4a7e4b2efcc301e9eda2b3752d6d7
parent79eddc992ea45239d93930601f6c773dea51ac84
[media] tc358743: fix register i2c_rd/wr function fix

The below mentioned fix contains a small but severe bug,
fix it to make the driver work again.

Fixes: 3538aa6ecfb2 ("[media] tc358743: fix register i2c_rd/wr functions")

Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/tc358743.c