commit | 71862f63f351078560a7ce35c6c2e2ca16750374 | [log] [tgz] |
---|---|---|
author | Wenyou Yang <wenyou.yang@microchip.com> | Mon Oct 16 05:14:27 2017 +0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri Oct 27 16:11:46 2017 +0200 |
tree | 5be4654164b82f8225a9078f802a6db75fe73e5e | |
parent | c0662dd4e7a407a5ac79cc6ca4d1116bf03d3731 [diff] |
media: ov7670: Add the ov7670_s_power function Add the ov7670_s_power function which is responsible for manipulating the power dowm mode through the PWDN pin and the reset operation through the RESET pin, and keep it powered at all times. [sakari.ailus@linux.intel.com: set pwdn_gpio direction only once] Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>