]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: hdmi: Fix another error handling path in 'sun4i_hdmi_bind()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 18 Mar 2018 22:48:10 +0000 (23:48 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 20 Mar 2018 10:50:28 +0000 (11:50 +0100)
commit29dc5e0003529f39d2b5c45e69fe591112455ee7
treee9f134278ac348d46e7a4b80ea0cda7e3ca267f5
parent7d2494290ce4747a68db5f6b171c30604e78abc2
drm/sun4i: hdmi: Fix another error handling path in 'sun4i_hdmi_bind()'

If we can not get the HDMI DDC clock, we still need to free some
resources before returning.

Fixes: fd7a6b46a1dd ("drm/sun4i: hdmi: Add support for controller hardware variants")
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/5e0084af4ad57e9eea3bca5bd8e2e95970cd6714.1521413031.git.christophe.jaillet@wanadoo.fr
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c