linux-stable/drivers/gpu/drm/tilcdc
Tomi Valkeinen c56a4ad406 drm/tilcdc: Fix irq free on unload
[ Upstream commit 38360bf96d ]

The driver only frees the reserved irq if priv->irq_enabled is set to
true. However, the driver mistakenly sets priv->irq_enabled to false,
instead of true, in tilcdc_irq_install(), and thus the driver never
frees the irq, causing issues on loading the driver a second time.

Fixes: b6366814fa ("drm/tilcdc: Convert to Linux IRQ interfaces")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Aradhya Bhatia <a-bhatia1@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230919-lcdc-v1-1-ba60da7421e1@ideasonboard.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:35:31 -08:00
..
Kconfig drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
Makefile
tilcdc_crtc.c drm/gem: rename struct drm_gem_dma_object.{paddr => dma_addr} 2022-08-03 18:32:27 +02:00
tilcdc_drv.c drm/tilcdc: Fix irq free on unload 2024-01-25 15:35:31 -08:00
tilcdc_drv.h drm/tilcdc: Convert to Linux IRQ interfaces 2021-08-10 20:13:53 +02:00
tilcdc_external.c tilcdc: tilcdc_external: fix an incorrect NULL check on list iterator 2022-03-29 13:58:58 +03:00
tilcdc_external.h
tilcdc_panel.c drm/tilcdc: Convert to platform remove callback returning void 2023-06-08 10:34:57 -07:00
tilcdc_panel.h
tilcdc_plane.c drm/plane: Remove drm_plane_init() 2022-09-20 09:37:12 +02:00
tilcdc_regs.h