Re: [PATCH V2] gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack
From: Linus Walleij
Date: Fri Dec 07 2018 - 04:48:27 EST
On Tue, Nov 27, 2018 at 6:06 PM Nicholas Mc Guire <hofrat@xxxxxxxxx> wrote:
> The error cases of mediatek_gpio_bank_probe() would go unnoticed (except
> for the dev_err() messages). The probe function should return an error
> if one of the banks failed to initialize properly indicated by
> not returning non-0.
>
> Signed-off-by: Nicholas Mc Guire <hofrat@xxxxxxxxx>
> Fixes: 4ba9c3afda41 ("gpio: mt7621: Add a driver for MT7621")
Patch applied with Sean's ACK.
Yours,
Linus Walleij