Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: i2c: ov02a10: Drop system suspend and resume handlers

Stopping streaming on a camera pipeline at system suspend time, and
restarting it at system resume time, requires coordinated action between
the bridge driver and the camera sensor driver. This is handled by the
bridge driver calling the sensor's .s_stream() handler at system suspend
and resume time. There is thus no need for the sensor to independently
implement system sleep PM operations. Drop them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

authored by

Laurent Pinchart and committed by
Hans Verkuil
480ff481 6f40f7ca

-2
-2
drivers/media/i2c/ov02a10.c
··· 570 570 } 571 571 572 572 static const struct dev_pm_ops ov02a10_pm_ops = { 573 - SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, 574 - pm_runtime_force_resume) 575 573 SET_RUNTIME_PM_OPS(ov02a10_power_off, ov02a10_power_on, NULL) 576 574 }; 577 575