diff options
author | Yi Yang <yiyang13@huawei.com> | 2023-08-21 16:40:46 +0800 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-09-11 17:49:55 +0200 |
commit | 0a1166c27d4e53186e6bf9147ea6db9cd1d65847 (patch) | |
tree | 49566dd6d59579edd69e69eb9f0fae487471e616 /drivers/mtd/nand/core.c | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) | |
download | linux-stable-0a1166c27d4e53186e6bf9147ea6db9cd1d65847.tar.gz linux-stable-0a1166c27d4e53186e6bf9147ea6db9cd1d65847.tar.bz2 linux-stable-0a1166c27d4e53186e6bf9147ea6db9cd1d65847.zip |
mtd: rawnand: tegra: add missing check for platform_get_irq()
Add the missing check for platform_get_irq() and return error code
if it fails.
Fixes: d7d9f8ec77fe ("mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver")
Signed-off-by: Yi Yang <yiyang13@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230821084046.217025-1-yiyang13@huawei.com
Diffstat (limited to 'drivers/mtd/nand/core.c')
0 files changed, 0 insertions, 0 deletions