Re: [PATCH v2] USB: FHCI: fix error return code in of_fhci_probe()

From: Linus Walleij
Date: Sat Dec 03 2022 - 04:52:49 EST


On Tue, Nov 29, 2022 at 7:21 AM Wang Yufen <wangyufen@xxxxxxxxxx> wrote:

> Fix to return a negative error code of PTR_ERR(fhci->gpiods[i])
> instead of 0.
>
> Fixes: a4efdb8a423b ("USB: FHCI: Switch to GPIO descriptors")
> Signed-off-by: Wang Yufen <wangyufen@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij