Commit 544dafda authored by Johan Hovold's avatar Johan Hovold Committed by openeuler-sync-bot
Browse files

drm/sun4i: fix missing component unbind on bind errors

stable inclusion
from stable-v5.10.177
commit cfeda9432c1dd0b33d006fc3cca21d69ff47c49b
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cfeda9432c1dd0b33d006fc3cca21d69ff47c49b



--------------------------------

[ Upstream commit c22f2ff8 ]

Make sure to unbind all subcomponents when binding the aggregate device
fails.

Fixes: 9026e0d1 ("drm: Add Allwinner A10 Display Engine support")
Cc: stable@vger.kernel.org      # 4.7
Cc: Maxime Ripard <mripard@kernel.org>
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20230306103242.4775-1-johan+linaro@kernel.org


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit 85ae5e7e)
parent 6dac9cee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment