acrn-kernel/drivers/mtd/nand/onenand
Jiasheng Jiang 3e68f331c8 mtd: onenand: Check for error irq
For the possible failure of the platform_get_irq(), the returned irq
could be error number and will finally cause the failure of the
request_irq().
Consider that platform_get_irq() can now in certain cases return
-EPROBE_DEFER, and the consequences of letting request_irq() effectively
convert that into -EINVAL, even at probe time rather than later on.
So it might be better to check just now.

Fixes: 2c22120fbd ("MTD: OneNAND: interrupt based wait support")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220104162658.1988142-1-jiasheng@iscas.ac.cn
2022-01-23 16:37:17 +01:00
..
Kconfig mtd: onenand: samsung: drop Exynos4 and describe driver in KConfig 2021-09-29 00:35:27 +02:00
Makefile
generic.c mtd: onenand: Check for error irq 2022-01-23 16:37:17 +01:00
onenand_base.c mtd: core: Constify buf in mtd_write_user_prot_reg() 2021-04-16 20:30:54 +02:00
onenand_bbt.c mtd: onenand: remove redundant variable ooblen 2021-12-09 17:29:51 +01:00
onenand_omap2.c
onenand_samsung.c
samsung.h