Re: [PATCH] mtd: nand: fix error return code in flctl_probe()

2017-08-13 Thread Boris Brezillon
Le Wed, 9 Aug 2017 11:29:21 -0500, "Gustavo A. R. Silva" a écrit : > platform_get_irq() returns an error code, but the sh_flctl > driver ignores it and always returns -ENXIO. This is not correct > and, prevents -EPROBE_DEFER from being propagated properly. > > Print and

Re: [PATCH] mtd: nand: fix error return code in flctl_probe()

2017-08-13 Thread Boris Brezillon
Le Wed, 9 Aug 2017 11:29:21 -0500, "Gustavo A. R. Silva" a écrit : > platform_get_irq() returns an error code, but the sh_flctl > driver ignores it and always returns -ENXIO. This is not correct > and, prevents -EPROBE_DEFER from being propagated properly. > > Print and propagate the return

[PATCH] mtd: nand: fix error return code in flctl_probe()

2017-08-09 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the sh_flctl driver ignores it and always returns -ENXIO. This is not correct and, prevents -EPROBE_DEFER from being propagated properly. Print and propagate the return value of platform_get_irq on failure. This issue was detected with the help of

[PATCH] mtd: nand: fix error return code in flctl_probe()

2017-08-09 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the sh_flctl driver ignores it and always returns -ENXIO. This is not correct and, prevents -EPROBE_DEFER from being propagated properly. Print and propagate the return value of platform_get_irq on failure. This issue was detected with the help of