Skip to content

media: i2c: imx477: Fix pm_runtime mismatch in probe error path - #7810

Open
6by9 wants to merge 1 commit into
raspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-imx477
Open

6by9 wants to merge 1 commit into
raspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-imx477

Conversation

@6by9

@6by9 6by9 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

If imx477_identify_module failed, then it jumped to an error path that also called pm_runtime_disable and pm_runtime_put_noidle when pm_runtime hadn't been enabled.

Add an error label that only powers down, and goto that.

#7804

If imx477_identify_module failed, then it jumped to an error
path that also called pm_runtime_disable and pm_runtime_put_noidle
when pm_runtime hadn't been enabled.

Add an error label that only powers down, and goto that.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants