[lkml]   [2019]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH] pinctrl: sh-pfc: Do not use platform_get_irq() to count interrupts
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 IRQ index 0 not found
> Fix this by using the platform_irq_count() helper instead.
> Fixes: 7723f4c5ecdb8d83 ("driver core: platform: Add an error message to platform_get_irq*()")
> Signed-off-by: Geert Uytterhoeven <>
> ---
> This is a fix for v5.4-rc1.

Thank you for the patch!

Reviewed-by: Yoshihiro Shimoda <>

And, I tested this patch on R-Car H3. So,

Tested-by: Yoshihiro Shimoda <>

Best regards,
Yoshihiro Shimoda

 \ /
  Last update: 2019-10-02 06:51    [W:0.104 / U:12.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site