Re: [PATCH] pinctrl: sh-pfc: Do not use platform_get_irq() to count interrupts

2019-10-03 Thread Niklas Söderlund
Hi Geert, Thanks for your work. On 2019-10-01 20:05:47 +0200, Geert Uytterhoeven wrote: > As platform_get_irq() now prints an error when the interrupt does not > exist, counting interrupts by looping until failure causes the printing > of scary messages like: > > sh-pfc e606.pin-controll

Re: [PATCH] pinctrl: sh-pfc: Do not use platform_get_irq() to count interrupts

2019-10-03 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2019-10-01 11:05:47) > As platform_get_irq() now prints an error when the interrupt does not > exist, counting interrupts by looping until failure causes the printing > of scary messages like: > > sh-pfc e606.pin-controller: IRQ index 0 not found > > Fix this b

RE: [PATCH] pinctrl: sh-pfc: Do not use platform_get_irq() to count interrupts

2019-10-01 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, October 2, 2019 3:06 AM > > As platform_get_irq() now prints an error when the interrupt does not > exist, counting interrupts by looping until failure causes the printing > of scary messages like: > > sh-pfc e606.pin-controller:

[PATCH] pinctrl: sh-pfc: Do not use platform_get_irq() to count interrupts

2019-10-01 Thread Geert Uytterhoeven
As platform_get_irq() now prints an error when the interrupt does not exist, counting interrupts by looping until failure causes the printing of scary messages like: sh-pfc e606.pin-controller: IRQ index 0 not found Fix this by using the platform_irq_count() helper instead. Fixes: 7723f4