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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux