On 06/10/2018 05:42 PM, Akinobu Mita wrote:
When the subdevice doesn't provide s_power core ops callback, the v4l2_subdev_call for s_power returns -ENOIOCTLCMD. If the subdevice doesn't have the special handling for its power saving mode, the s_power isn't required. So -ENOIOCTLCMD from the v4l2_subdev_call should be ignored.
Signed-off-by: Akinobu Mita<akinobu.mita@xxxxxxxxx>
Acked-by: Sylwester Nawrocki <sylvester.nawrocki@xxxxxxxxx>