Thread (7 messages) 7 messages, 6 authors, 2021-11-02

Re: [PATCH] gpio: xgs-iproc: fix parsing of ngpios property

From: Linus Walleij <hidden>
Date: 2021-10-24 23:50:14
Also in: linux-arm-kernel

On Thu, Oct 14, 2021 at 2:33 PM Jonas Gorski [off-list ref] wrote:
of_property_read_u32 returns 0 on success, not true, so we need to
invert the check to actually take over the provided ngpio value.

Fixes: 6a41b6c5fc20 ("gpio: Add xgs-iproc driver")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help