]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tc358743: Do not read number of CSI lanes in use from chip
authorMats Randgaard <matrandg@cisco.com>
Tue, 6 Dec 2016 10:24:27 +0000 (08:24 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 13:14:40 +0000 (11:14 -0200)
commit48471b36c12feddd0b5a76a4257fb9f076cbd013
treeb1d2ed0b779ad1ce6dc2c06c390136bdeded6a96
parent1025e148e9c0773ba89492a972e7169773eea725
[media] tc358743: Do not read number of CSI lanes in use from chip

The number of CSI lanes that should be used is set to the CSI_CONTROL
register by indirectly writing to the CSI_CONFW register. When the
number of lanes is read back from the CSI_CONTROL register the value
is usually correct, but we have seen that it suddenly is 1 for a short
moment before the correct value is restored again.

Toshiba have not figured out why that happen, but we have found it
safer to store the value in the driver.

Signed-off-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/tc358743.c