summaryrefslogtreecommitdiff
path: root/drivers/soc/fsl/qe/tsa.c
diff options
context:
space:
mode:
authorBingbu Cao <bingbu.cao@intel.com>2023-11-22 12:46:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-01 03:18:51 +0300
commit240fd0215d3f3bd59a7d9ca907c5599f22d3bc95 (patch)
treedc9c72cf522326a431ce4732679771f245a7e344 /drivers/soc/fsl/qe/tsa.c
parent000339cb5d27f7c5b04ca9cecd75a3b73f7b8c34 (diff)
downloadlinux-240fd0215d3f3bd59a7d9ca907c5599f22d3bc95.tar.xz
media: ov01a10: Enable runtime PM before registering async sub-device
commit 47a78052db51b16e8045524fbf33373b58f1323b upstream. 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. It also sets the runtime PM status to active as the sensor was turned on by i2c-core. Fixes: 0827b58dabff ("media: i2c: add ov01a10 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/soc/fsl/qe/tsa.c')
0 files changed, 0 insertions, 0 deletions