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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 09:42:56 +0000 (11:42 +0200)
commit4bd472863d342f18930e2916dd9c8ed466c44caf
treeae7be6694d8d5a10441aa7a1c75ad21b50fc30ff
parent726a82d559b13c6918ee788f0cc4e8d517f1fd7c
tc358743: fix register i2c_rd/wr function fix

commit 4b0755e90ae03ba40174842af6fa810355960fbc upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/i2c/tc358743.c