diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-02-20 08:08:15 +0100 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-02-23 11:10:42 -0500 |
commit | efe0220fc2d2cc1cbd6c663dd3d652ac2b9afd1a (patch) | |
tree | e1f462a216a021a2c5c311759b7c1e8b625916d5 /drivers/gpu/drm/drm_trace.h | |
parent | b6705157b2db521ec7ff3b3ac205230f231798a6 (diff) |
drm/rockchip: cdn-dp: Fix error handling
It is likely that both 'clk_disable_unprepare()' should be called if
'pm_runtime_get_sync()' fails.
Add a new label for that, because 'err_set_rate' is not meaningful in this
case.
Add a missing call to 'pm_runtime_put()'.
Fixes: 1a0f7ed3abe2 ("drm/rockchip: cdn-dp: add cdn DP support for rk3399")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170220070815.23096-1-christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers/gpu/drm/drm_trace.h')
0 files changed, 0 insertions, 0 deletions