]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: platform: pxa_camera: add missing sensor power on
authorRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 23 Sep 2016 18:41:39 +0000 (15:41 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 24 Oct 2016 20:08:12 +0000 (18:08 -0200)
commitc771f42fed7f21f510793302687884b424cd9f54
treecfdd3e6ed92e81c25fc11e39b3c4ec59702be62a
parent6dfcd296576a14bc52d0453e4ba7ed09323a26dc
[media] media: platform: pxa_camera: add missing sensor power on

During sensors binding, there is a window where the sensor is switched
off, while there is a call it to set a new format, which can end up in
an access to the sensor, especially an I2C based sensor.

Remove this window by activating the sensor.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/pxa_camera.c