Re: [PATCH v1 1/1] pinctrl: cy8c95x0: Don't use cy8c95x0_set_mode() twice

From: Linus Walleij
Date: Fri Oct 21 2022 - 04:48:06 EST


On Tue, Oct 18, 2022 at 5:16 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> Instead, call it once in cy8c95x0_pinmux_mode() and if selector is 0,
> shortcut the flow by returning 0 immediately.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij