Messages in this thread | | | Date | Wed, 20 Feb 2019 10:23:04 +0100 | From | Johan Hovold <> | Subject | Re: [PATCH v2] USB: serial: cp210x: Fix GPIO in autosuspend |
| |
On Sun, Feb 17, 2019 at 06:59:01PM +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. > > Signed-off-by: Karoly Pados <pados@pados.hu> > --- > Changelog: > - v2: Restrict new autopm calls to GPIO paths. > Always check result of usb_autopm_get. > Rebased to current usb_serial upstream.
Thanks for the v2. Now applied after removing the unmotivated white space change.
I also added a Fixes and CC-stable tag as this seems annoying enough to warrant a backport even if autosuspend was never actually supported.
Johan
| |