Files
linux/drivers
Zhang Shurong 890843254f spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
[ Upstream commit 29a449e765 ]

The platform_get_irq might be failed and return a negative result. So
there should have an error handling code.

Fixed this by adding an error handling code.

Fixes: 8528547bcc ("spi: tegra: add spi driver for sflash controller")
Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com>
Link: https://lore.kernel.org/r/tencent_71FC162D589E4788C2152AAC84CD8D5C6D06@qq.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:22:32 +02:00
..
2023-08-03 10:22:26 +02:00
2023-07-23 13:47:51 +02:00
2023-07-23 13:47:25 +02:00
2023-04-05 11:24:55 +02:00
2023-03-10 09:40:13 +01:00
2022-08-25 11:40:33 +02:00
2023-07-23 13:47:20 +02:00