Skip to content
Commit d6ffdabd authored by Tomeu Vizoso's avatar Tomeu Vizoso
Browse files

panfrost: Properly undo pm_runtime_enable when deferring a probe



When deferring the probe because of a missing regulator, we were calling
pm_runtime_disable even if pm_runtime_enable wasn't called.

Move the call to pm_runtime_disable to the right place.

Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Reported-by: default avatarChen-Yu Tsai <wens@csie.org>
Cc: Robin Murphy <robin.murphy@arm.com>
Fixes: f4a3c6a4 ("drm/panfrost: Disable PM on probe failure")
parent cfc692ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment