Re: [PATCH] mtd: spi-nor: cqspi: fix error return code in cqspi_probe()

2017-08-09 Thread Marek Vasut
On 08/09/2017 06:22 PM, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the cadence-quadspi > 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

Re: [PATCH] mtd: spi-nor: cqspi: fix error return code in cqspi_probe()

2017-08-09 Thread Marek Vasut
On 08/09/2017 06:22 PM, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the cadence-quadspi > 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

[PATCH] mtd: spi-nor: cqspi: fix error return code in cqspi_probe()

2017-08-09 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the cadence-quadspi 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

[PATCH] mtd: spi-nor: cqspi: fix error return code in cqspi_probe()

2017-08-09 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the cadence-quadspi 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