diff options
| author | 2026-08-04 23:11:04 +0900 | |
|---|---|---|
| committer | 2026-10-01 11:04:44 +0200 | |
| commit | 64e07ebcb3d054672cff678edb5344586d2d3286 (patch) | |
| tree | f528835e2fc45aca10bc94e473d30eddc30a08dd /scripts/Makefile.thinlto | |
| parent | media: mali-c55: add padding to mali_c55_params_ccm structure (diff) | |
media: renesas: rzv2h-ivc: manage runtime PM with devres
Runtime PM is enabled before the IRQ is looked up. If that lookup
fails, probe returns without disabling runtime PM. The subdevice
initialization error path disables runtime PM but leaves autosuspend
enabled, while the remove path does neither.
Use devm_pm_runtime_enable() so the driver core disables autosuspend and
runtime PM on every failed probe and after remove. This also makes the
manual subdevice error unwind unnecessary.
This issue was identified during our ongoing static-analysis research while
reviewing kernel code.
Fixes: f0b3984d821b ("media: platform: Add Renesas Input Video Control block driver")
Cc: stable@vger.kernel.org
Signed-off-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Myeonghun Pak <mhun512@gmail.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
