drm/msm: fix leaks if initialization fails
[ Upstream commit 66be340f ] We should free resources in unlikely case of allocation failure. Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: Rob Clark <robdclark@chromium.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Showing
Please register or sign in to comment