Re: [PATCH] gpu: host1x: fix error return code in host1x_probe()

2017-08-17 Thread Thierry Reding
On Tue, Aug 08, 2017 at 12:08:06AM -0500, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the host1x driver > ignores it and always returns -ENXIO. This is not correct and, > prevents -EPROBE_DEFER from being propagated properly. > > Notice that platform_get_irq() no lon

[PATCH] gpu: host1x: fix error return code in host1x_probe()

2017-08-07 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the host1x driver ignores it and always returns -ENXIO. This is not correct and, prevents -EPROBE_DEFER from being propagated properly. Notice that platform_get_irq() no longer returns 0 on error: https://git.kernel.org/pub/scm/linux/kernel/git/torvald