Re: [PATCH] mmc: mxcmmc: fix error return code in mxcmci_probe()

2017-07-16 Thread Gustavo A. R. Silva
Hi Ulf, On 07/11/2017 09:43 AM, Ulf Hansson wrote: On 7 July 2017 at 07:59, Gustavo A. R. Silva wrote: platform_get_irq() returns an error code, but the mxcmmc driver ignores it and always returns -EINVAL. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Print e

Re: [PATCH] mmc: mxcmmc: fix error return code in mxcmci_probe()

2017-07-11 Thread Ulf Hansson
On 7 July 2017 at 07:59, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the mxcmmc driver > ignores it and always returns -EINVAL. This is not correct, > and prevents -EPROBE_DEFER from being propagated properly. > > Print error message and propagate the return value of

[PATCH] mmc: mxcmmc: fix error return code in mxcmci_probe()

2017-07-06 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the mxcmmc driver ignores it and always returns -EINVAL. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Print error message and propagate the return value of platform_get_irq on failure. Signed-off-by: Gustavo A. R. Si