diff options
| author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-04-20 05:33:01 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:56:59 +0100 |
| commit | 1ed982971d06eb0385917eecebcc80d366e1dae3 (patch) | |
| tree | b882d9f82680cf7957dfd24d0c3ba21d41a65656 /scripts/git.orderFile | |
| parent | 25599a16d77717d28b8c231c7e70db4f0a7d80a0 (diff) | |
| download | linux-1ed982971d06eb0385917eecebcc80d366e1dae3.tar.gz linux-1ed982971d06eb0385917eecebcc80d366e1dae3.tar.bz2 linux-1ed982971d06eb0385917eecebcc80d366e1dae3.zip | |
drm/msm: don't clean up priv->kms prematurely
[ Upstream commit ebc0deda3c2948d40419677d388b4e6081688a06 ]
MSM display drivers provide kms structure allocated during probe().
Don't clean up priv->kms field in case of an error. Otherwise probe
functions might fail after KMS probe deferral.
Fixes: a2ab5d5bb6b1 ("drm/msm: allow passing struct msm_kms to msm_drv_probe()")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Fixes: 506efcba3129 ("drm/msm: carve out KMS code from msm_drv.c")
Patchwork: https://patchwork.freedesktop.org/patch/590411/
Link: https://lore.kernel.org/r/20240420-mdp4-fixes-v1-1-96a70f64fa85@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
