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

2017-11-16 Thread Mirza Krak
2017-11-15 9:17 GMT+01:00 Mirza Krak : > 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 >

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

2017-11-15 Thread Mirza Krak
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 --- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 3 +--