On Fri, Sep 26, 2025 at 05:17:58PM +0800, Haoxiang Li wrote:
mipi_dsi_device_alloc() calls device_initialize() to initialize value "&dsi->dev". Thus "dsi" should be freed using put_device() in error handling path.
Fixes: 068a00233969 ("drm: Add MIPI DSI bus support") Cc: stable@vger.kernel.org Signed-off-by: Haoxiang Li haoxiang_li2024@163.com
drivers/gpu/drm/drm_mipi_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Dmitry Baryshkov dmitry.baryshkov@oss.qualcomm.com