[PATCH v2] panfrost: Properly undo pm_runtime_enable when deferring a probe

Chen-Yu Tsai wens at csie.org
Thu Oct 24 03:51:12 UTC 2019


On Wed, Oct 23, 2019 at 8:22 PM Tomeu Vizoso <tomeu.vizoso at collabora.com> wrote:
>
> 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: Tomeu Vizoso <tomeu.vizoso at collabora.com>
> Reported-by: Chen-Yu Tsai <wens at csie.org>
> Cc: Robin Murphy <robin.murphy at arm.com>
> Fixes: f4a3c6a44b35 ("drm/panfrost: Disable PM on probe failure")

Tested-by: Chen-Yu Tsai <wens at csie.org>


More information about the dri-devel mailing list