media: ov2640: make s_ctrl() work in power-down mode
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 10 Feb 2018 15:28:38 +0000 (10:28 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 17 May 2018 10:22:08 +0000 (06:22 -0400)
commitdeb9eec69662f14818e68c6a4e65c6c71a1789c2
tree9d46eae247532cea098b21cc3052fd61c5a0ddf1
parent2aae393955d2c923e85ee162f4b7509d09519374
media: ov2640: make s_ctrl() work in power-down mode

The s_ctrl() operation can be called when the device is placed into
power down mode.  Then, applying controls to H/W should be postponed at
this time.  Instead the controls will be restored when the streaming is
started.

Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov2640.c