[PATCH 1/1] drm/rockchip: dw-mipi-dsi: fix possible un-balanced runtime PM enable

Mirza Krak mirza.krak at endian.se
Wed Nov 15 00:27:24 PST 2017


2017-11-15 9:17 GMT+01:00 Mirza Krak <mirza.krak at endian.se>:
> In the case of the the binds gets defered we would end up with a
> un-balanced runtime PM enable call.
>
> Fix this by simply moving the pm_runtime_enable call to the end of
> the bind function when all paths have succeeded.
>
> Signed-off-by: Mirza Krak <mirza.krak at endian.se>
> ---
>  drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Re-sent the patch due to initial typos in commit message. Sorry.

Best Regards
Mirza



More information about the Linux-rockchip mailing list