commit | 8250e6cadceddefb8ab32eb7a011b3201adebbb3 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sun Mar 18 23:48:09 2018 +0100 |
committer | Maxime Ripard <maxime.ripard@bootlin.com> | Tue Mar 20 11:50:26 2018 +0100 |
tree | a45da2016864ddc05aafa264311d2ff7655437ed | |
parent | 9ca8614980d4593dcff649f8aefe604079cfafe1 [diff] |
drm/sun4i: hdmi: Fix an error handling path in 'sun4i_hdmi_bind()' If we can not allocate the HDMI encoder regmap, we still need to free some resources before returning. Fixes: 4b1c924b1fc1 ("drm/sun4i: hdmi: create a regmap for later use") Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/14c42391e1b562c7495bda6ad6fa1d24ec8dc052.1521413031.git.christophe.jaillet@wanadoo.fr