diff options
author | Mirza Krak <mirza.krak@endian.se> | 2017-11-15 08:24:46 +0000 |
---|---|---|
committer | Sandy Huang <hjc@rock-chips.com> | 2017-11-27 09:30:53 +0800 |
commit | 517f56839f581618d24f2e67a35738a5c6cbaecb (patch) | |
tree | 2b9514f3c8882fcc6d6644fbd769d31e78bc0897 /drivers/gpu/drm/rockchip/cdn-dp-reg.c | |
parent | 9271c0ca573e02a360b636ecd8cb408852f4e9f6 (diff) |
drm/rockchip: dw-mipi-dsi: fix possible un-balanced runtime PM enable
In the case where the bind gets deferred 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@endian.se>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1510734286-37434-1-git-send-email-mirza.krak@endian.se
Diffstat (limited to 'drivers/gpu/drm/rockchip/cdn-dp-reg.c')
0 files changed, 0 insertions, 0 deletions