backports: add clock enable/disable on soc_camera_power_[on|off]()
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 19 Jul 2013 05:50:51 +0000 (05:50 +0000)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 19 Jul 2013 22:05:32 +0000 (15:05 -0700)
commitbedf6b87ad311e97254f3e9144202dc7d3bb5d48
tree46eac445c8f09c1ea05db8f9ce5fa3bde79c8ce4
parent6c58400c116908aebfefa94a92ff9ad4e0bfd631
backports: add clock enable/disable on soc_camera_power_[on|off]()

v4l2-core now supports enabling and disabling its own clock
on turning the camera on / off. We backport v4l2-core fully
so just backport the soc calls appropriately to let SOC cameras
to turn the clock on / off when the v4l2-core clock ops are
implemented on a device driver.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/backport-include/uapi/linux/v4l2-mediabus.h
backport/compat/compat-3.4.c