]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Disable PM on probe failure
authorRobin Murphy <robin.murphy@arm.com>
Fri, 3 May 2019 15:31:43 +0000 (16:31 +0100)
committerRob Herring <robh@kernel.org>
Fri, 3 May 2019 20:36:02 +0000 (15:36 -0500)
commitc332992cd943d2f92a5fa67218ec055f511e5e17
treec996f2bc9ac401dc9c4ca4b357fc5ebe5bfe7cf2
parenta610461da0de39e3834cfb41841f6898163f4af6
drm/panfrost: Disable PM on probe failure

Make sure to disable runtime PM again if probe fails after we've enabled
it. Otherwise, any subsequent attempt to re-probe starts triggering
"Unbalanced pm_runtime_enable!" assertions from the driver core.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/2487391e7646cabbc52e9b4c20182e39d3f61859.1556195258.git.robin.murphy@arm.com
drivers/gpu/drm/panfrost/panfrost_drv.c