Re: [PATCH v2] USB: serial: cp210x: Fix GPIO in autosuspend

From: Johan Hovold
Date: Tue Mar 19 2019 - 06:37:08 EST


On Mon, Feb 18, 2019 at 10:17:12AM +0100, Oliver Neukum wrote:
> On So, 2019-02-17 at 18:59 +0100, Karoly Pados wrote:
> > Current GPIO code in cp210x fails to take USB autosuspend into account,
> > making it practically impossible to use GPIOs with autosuspend enabled
> > without user configuration. Fix this like for ftdi_sio in a previous patch.
> > Tested on a CP2102N.

> your patch is looking good to me, but I am afraid there are issues.
> How do the GPIO lines on the device interact with USB reset and system
> suspend?

What was your concern here, Oliver?

Johan