summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorBingbu Cao <bingbu.cao@intel.com>2023-11-22 17:46:09 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-12-04 11:21:46 +0100
commite242e9c144050ed120cf666642ba96b7c4462a4c (patch)
tree3fae9a55b19ae22bc5aeffd21ff8ade1f13450d0 /drivers/media/i2c/ccs/ccs-core.c
parent7b0454cfd8edb3509619407c3b9f78a6d0dee1a5 (diff)
media: ov9734: Enable runtime PM before registering async sub-device
As the sensor device maybe accessible right after its async sub-device is registered, such as ipu-bridge will try to power up sensor by sensor's client device's runtime PM from the async notifier callback, if runtime PM is not enabled, it will fail. So runtime PM should be ready before its async sub-device is registered and accessible by others. Fixes: d3f863a63fe4 ("media: i2c: Add ov9734 image sensor driver") Cc: stable@vger.kernel.org Signed-off-by: Bingbu Cao <bingbu.cao@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions