]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/imx/dcss: Use IRQF_NO_AUTOEN flag in request_irq()
authorJinjie Ruan <ruanjinjie@huawei.com>
Thu, 12 Sep 2024 08:30:16 +0000 (16:30 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 21 Sep 2024 20:47:42 +0000 (23:47 +0300)
commit1af01e14db7e0b45ae502d822776a58c86688763
treea95ae68bee653ebc8727b1a0ebe1a3a25b72cefe
parentc87a1268e9c589cd346e820298e5ef35f884aea0
drm/imx/dcss: Use IRQF_NO_AUTOEN flag in request_irq()

disable_irq() after request_irq() still has a time gap in which
interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will
disable IRQ auto-enable when request IRQ.

Fixes: 9021c317b770 ("drm/imx: Add initial support for DCSS on iMX8MQ")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240912083020.3720233-2-ruanjinjie@huawei.com
[DB: fixed the subject]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/imx/dcss/dcss-crtc.c