Re: [PATCH V2] gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack
From: Linus Walleij <hidden>
Date: 2018-12-07 09:48:26
Also in:
linux-gpio, linux-mediatek, lkml
From: Linus Walleij <hidden>
Date: 2018-12-07 09:48:26
Also in:
linux-gpio, linux-mediatek, lkml
On Tue, Nov 27, 2018 at 6:06 PM Nicholas Mc Guire [off-list ref] 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 <redacted>
Fixes: 4ba9c3afda41 ("gpio: mt7621: Add a driver for MT7621")Patch applied with Sean's ACK. Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel