Re: [RESEND PATCH v4 2/3] usb: serial: xr_serial: Add gpiochip support

From: Andy Shevchenko
Date: Mon Jul 27 2020 - 03:50:59 EST


On Mon, Jul 27, 2020 at 7:46 AM Manivannan Sadhasivam <mani@xxxxxxxxxx> wrote:
> On Sun, Jul 26, 2020 at 07:34:54PM +0300, Andy Shevchenko wrote:
> > On Sun, Jul 26, 2020 at 6:53 PM Manivannan Sadhasivam <mani@xxxxxxxxxx> wrote:

...

> > I'm wondering if you may use mctrl_gpio_*() API instead.
>
> How? mctrl_gpio APIs are a wrapper for accessing modem control gpio pins but
> here we are not accessing the pins but rather exposing the pins as a gpiochip.

I see. Thanks for the explanation.

> Am I missing something?

--
With Best Regards,
Andy Shevchenko