Re: [PATCH] serial: imx: Avoid probe failure in case of missing gpiolib

From: Uwe Kleine-König
Date: Thu Aug 01 2019 - 04:48:35 EST

On Thu, Aug 01, 2019 at 08:18:05AM +0000, Schrempf Frieder wrote:
> From: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>
> If CONFIG_GPIOLIB is not enabled, mctrl_gpio_init() will return
> -ENOSYS and cause the probing of the imx UART to fail. As the
> GPIOs are optional, we should continue probing in this case.

Is this really still the case? On which version did you hit this

I would expect that is gone with
d99482673f950817b30caf3fcdfb31179b050ce1 if not earlier.

Best regards

Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | |