Files
linux/drivers
Zhang Shurong b07e31824d fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
[ Upstream commit 4e88761f5f ]

This func misses checking for platform_get_irq()'s call and may passes the
negative error codes to request_irq(), which takes unsigned IRQ #,
causing it to fail with -EINVAL, overriding an original error code.

Fix this by stop calling request_irq() with invalid IRQ #s.

Fixes: 1630d85a83 ("au1200fb: fix hardcoded IRQ")
Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:37:44 +02:00
..
2022-05-09 09:03:20 +02:00
2023-05-17 11:35:47 +02:00
2023-04-05 11:16:43 +02:00
2023-07-27 08:37:14 +02:00
2023-07-27 08:37:43 +02:00
2022-08-25 11:18:33 +02:00
2023-07-27 08:37:19 +02:00