aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2025-01-10 14:53:20 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2025-02-15 15:22:51 +0100
commit42eceae9793566d0df53d509be3e416465c347f5 (patch)
tree7e2d7652039ffbcf537efbb098a2d88e0c88b6c0 /tools/perf/scripts/python
parentmedia: i2c: ccs: Set the device's runtime PM status correctly in probe (diff)
downloadlinux-42eceae9793566d0df53d509be3e416465c347f5.tar.gz
linux-42eceae9793566d0df53d509be3e416465c347f5.zip
media: i2c: imx219: Rectify runtime PM handling in probe and remove
Set the device's runtime PM status and enable runtime PM before registering the async sub-device. This is needed to avoid the case where the device is runtime PM resumed while runtime PM has not been enabled yet. Also set the device's runtime PM status to suspended in remove only if it wasn't so already. Fixes: 1283b3b8f82b ("media: i2c: Add driver for Sony IMX219 sensor") Cc: stable@vger.kernel.org # for >= v6.6 Reviewed-by: Bingbu Cao <bingbu.cao@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions