[PATCH] gpio: xgs-iproc: fix parsing of ngpios property
Florian Fainelli
f.fainelli at gmail.com
Fri Oct 22 12:29:04 PDT 2021
On 10/14/21 5:33 AM, Jonas Gorski 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 at gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli at gmail.com>
--
Florian
More information about the linux-arm-kernel
mailing list