Commit 2fa178e2 authored by Yi Yang's avatar Yi Yang Committed by Greg Kroah-Hartman
Browse files

mtd: rawnand: tegra: add missing check for platform_get_irq()



[ Upstream commit 0a1166c2 ]

Add the missing check for platform_get_irq() and return error code
if it fails.

Fixes: d7d9f8ec ("mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver")
Signed-off-by: default avatarYi Yang <yiyang13@huawei.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230821084046.217025-1-yiyang13@huawei.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1fb3a9c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment