Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 093a5cb4 authored by Mirza Krak's avatar Mirza Krak Committed by Greg Kroah-Hartman
Browse files

drm/rockchip: dw-mipi-dsi: fix possible un-balanced runtime PM enable




[ Upstream commit 517f56839f581618d24f2e67a35738a5c6cbaecb ]

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: default avatarMirza Krak <mirza.krak@endian.se>
Signed-off-by: default avatarSandy Huang <hjc@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1510734286-37434-1-git-send-email-mirza.krak@endian.se


Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9be97a9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment