Re: [PATCH v2] devfreq: tegra: fix error return code in tegra_devfreq_probe()

2017-07-16 Thread Gustavo A. R. Silva
On 07/04/2017 03:35 AM, Jon Hunter wrote: On 03/07/17 13:47, Gustavo A. R. Silva wrote: platform_get_irq() returns an error code, but the tegra-devfreq driver ignores it and always returns -ENODEV. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Notice that

Re: [PATCH v2] devfreq: tegra: fix error return code in tegra_devfreq_probe()

2017-07-16 Thread Gustavo A. R. Silva
On 07/04/2017 03:35 AM, Jon Hunter wrote: On 03/07/17 13:47, Gustavo A. R. Silva wrote: platform_get_irq() returns an error code, but the tegra-devfreq driver ignores it and always returns -ENODEV. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Notice that

Re: [PATCH v2] devfreq: tegra: fix error return code in tegra_devfreq_probe()

2017-07-04 Thread Jon Hunter
On 03/07/17 13:47, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the tegra-devfreq > driver ignores it and always returns -ENODEV. This is not correct, > and prevents -EPROBE_DEFER from being propagated properly. > > Notice that platform_get_irq() no longer returns 0

Re: [PATCH v2] devfreq: tegra: fix error return code in tegra_devfreq_probe()

2017-07-04 Thread Jon Hunter
On 03/07/17 13:47, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the tegra-devfreq > driver ignores it and always returns -ENODEV. This is not correct, > and prevents -EPROBE_DEFER from being propagated properly. > > Notice that platform_get_irq() no longer returns 0

[PATCH v2] devfreq: tegra: fix error return code in tegra_devfreq_probe()

2017-07-03 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the tegra-devfreq driver ignores it and always returns -ENODEV. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Notice that platform_get_irq() no longer returns 0 on error:

[PATCH v2] devfreq: tegra: fix error return code in tegra_devfreq_probe()

2017-07-03 Thread Gustavo A. R. Silva
platform_get_irq() returns an error code, but the tegra-devfreq driver ignores it and always returns -ENODEV. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Notice that platform_get_irq() no longer returns 0 on error: