[PATCH] pinctrl-st: fix of_irq_to_resource() result check
Sergei Shtylyov
sergei.shtylyov at cogentembedded.com
Sat Jul 29 12:15:14 PDT 2017
On 07/29/2017 09:07 PM, Sergei Shtylyov wrote:
> of_irq_to_resource() has recently been fixed to return negative error #'s
> along with 0 in case of failure, however the ST driver still only regards
> 0 as failure indication -- fix it up.
>
> Fixes: 7a4228bbff76 ("of: irq: use of_irq_get() in of_irq_to_resource()")
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
[...]
Forgot to mention that the patch is against the 'fixes' branch of Linus
W.'s 'linux-pinctrl.git' repo.
MBR, Sergei
More information about the linux-arm-kernel
mailing list