diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-12-11 17:54:40 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-12-14 10:27:23 +0300 |
commit | c806d59695e1cdd288e11f8dcc8abdd187a3570e (patch) | |
tree | 60a944f929b05467a18630ac98eac58637229c87 /lib/test_scanf.c | |
parent | 88806318e2c2f212e91da2c4143509db4b16c9cb (diff) | |
download | linux-c806d59695e1cdd288e11f8dcc8abdd187a3570e.tar.xz |
drm/msm/dpu: remove extra drm_encoder_cleanup from the error path
The drmm handler will perform drm_encoder_cleanup() for us. Moreover if
we call drm_encoder_cleanup() manually, the drmm_encoder_alloc_release()
will spawn warnings at drivers/gpu/drm/drm_encoder.c:214. Drop these
extra drm_encoder_cleanup() calls.
Fixes: cd42c56d9c0b ("drm/msm/dpu: use drmm-managed allocation for dpu_encoder_virt")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reported-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Tested-by: Abhinav Kumar <quic_abhinavk@quicinc.com> #sm8250 CI
Patchwork: https://patchwork.freedesktop.org/patch/571562/
Link: https://lore.kernel.org/r/20231211145440.3647001-1-dmitry.baryshkov@linaro.org
Diffstat (limited to 'lib/test_scanf.c')
0 files changed, 0 insertions, 0 deletions