The ov2640 driver has support for controlling the reset and power-down
pins via GPIO lines.  But enabling these GPIO controls will prevent the
device from working correctly due to the lack of considering the current
device power state.

This series contains the fixes based on how other sensor drivers handle
it correctly.

Akinobu Mita (2):
  media: ov2640: make set_fmt() work in power-down mode
  media: ov2640: make s_ctrl() work in power-down mode

 drivers/media/i2c/ov2640.c | 112 +++++++++++++++++++++++++++++++++++++--------
 1 file changed, 92 insertions(+), 20 deletions(-)

Cc: Sakari Ailus <sakari.ai...@linux.intel.com>
Cc: Mauro Carvalho Chehab <mche...@s-opensource.com>
-- 
2.7.4

Reply via email to