commit | 948cf42700b15fc65ec4cc3ac52a8bbeb84b87ef | [log] [tgz] |
---|---|---|
author | Douglas Anderson <dianders@chromium.org> | Mon Mar 07 14:00:50 2016 -0800 |
committer | Mark Yao <mark.yao@rock-chips.com> | Mon Mar 28 14:48:31 2016 +0800 |
tree | c65784b0eebe5cd03d764392db01c6b28fc9bc6c | |
parent | 3ed6c64911f2335b271c21363b7834072fc03303 [diff] |
drm/rockchip: dw_hdmi: Call drm_encoder_cleanup() in error path The drm_encoder_cleanup() was missing both from the error path of dw_hdmi_rockchip_bind(). This caused a crash when slub_debug was enabled and we ended up deferring probe of HDMI at boot. This call isn't needed from unbind() because if dw_hdmi_bind() returns no error then it takes over the job of freeing the encoder (in dw_hdmi_unbind). Signed-off-by: Douglas Anderson <dianders@chromium.org>