]> git.baikalelectronics.ru Git - kernel.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)
commit6c5080623434b28c3a0c6d608aefd50917f84d25
treecfdd3e6ed92e81c25fc11e39b3c4ec59702be62a
parentab8eb0555b01826a0ef71de37ac31b7cdd3b2381
[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