Re: [PATCH] drm/v3d: Fix PM disable depth imbalance in v3d_platform_drm_probe

2022-01-06 Thread Dave Stevenson
Thanks for the patch. On Wed, 5 Jan 2022 at 12:04, Miaoqian Lin wrote: > > The pm_runtime_enable will increase power disable depth. > If the probe fails, we should use pm_runtime_disable() to balance > pm_runtime_enable(). > > Fixes: 57692c9 ("drm/v3d: Introduce a new DRM driver for Broadcom V3D

[PATCH] drm/v3d: Fix PM disable depth imbalance in v3d_platform_drm_probe

2022-01-05 Thread Miaoqian Lin
The pm_runtime_enable will increase power disable depth. If the probe fails, we should use pm_runtime_disable() to balance pm_runtime_enable(). Fixes: 57692c9 ("drm/v3d: Introduce a new DRM driver for Broadcom V3D V3.x+") Signed-off-by: Miaoqian Lin --- drivers/gpu/drm/v3d/v3d_drv.c | 2 ++ 1 fi