diff options
author | Douglas Anderson <[email protected]> | 2016-03-07 14:00:50 -0800 |
---|---|---|
committer | Mark Yao <[email protected]> | 2016-03-28 14:48:31 +0800 |
commit | 948cf42700b15fc65ec4cc3ac52a8bbeb84b87ef (patch) | |
tree | c65784b0eebe5cd03d764392db01c6b28fc9bc6c /lib/string_helpers.c | |
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 <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions