Re: [PATCH 1/3 v3] mfd: ipaq-micro: Fix platform_get_irq's error checking

2020-08-27 Thread Krzysztof Kozlowski
On Sun, 19 Nov 2017 at 05:28, Arvind Yadav wrote: > > The platform_get_irq() function returns negative if an error occurs. > zero or positive number on success. platform_get_irq() error checking > for zero is not correct. > > Signed-off-by: Arvind Yadav > --- > changes in v2 : >

[PATCH 1/3 v3] mfd: ipaq-micro: Fix platform_get_irq's error checking

2017-11-18 Thread Arvind Yadav
The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2 : Add failure case '<= 0' instead of '< 0'.

[PATCH 1/3 v3] mfd: ipaq-micro: Fix platform_get_irq's error checking

2017-11-18 Thread Arvind Yadav
The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2 : Add failure case '<= 0' instead of '< 0'. If IRQ0 is not valid.