diff options
| author | Laurent Pinchart <[email protected]> | 2023-01-16 15:44:51 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-03 15:05:02 +0100 |
| commit | 02852c01f65402e2fe4a8a5fe5a0b641f245b529 (patch) | |
| tree | c338cd9357b2502e3dbea1fc9eac05b8fc318c42 /tools/perf/scripts/python/bin/task-analyzer-report | |
| parent | a8c3e0c1bf1e97b5ee094951ed0f1e57e3b378c7 (diff) | |
media: i2c: imx290: Initialize runtime PM before subdev
Initializing the subdev before runtime PM means that no subdev
initialization can interact with the runtime PM framework. This can be
problematic when modifying controls, as the .s_ctrl() handler commonly
calls pm_runtime_get_if_in_use(). These code paths are not trivial,
making the driver fragile and possibly causing subtle bugs.
To make the subdev initialization more robust, initialize runtime PM
first.
Signed-off-by: Laurent Pinchart <[email protected]>
Acked-by: Alexander Stein <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions