diff options
author | Karoly Pados <pados@pados.hu> | 2019-02-17 18:59:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-10 07:09:01 +0100 |
commit | 44c81a48231012e510267b9fe26403325465a19a (patch) | |
tree | 0b97c0f5b6df2310ed3196339c4aaa3391f54a42 /tools | |
parent | 02c66213c80ab85a78b494711d530ac20760efb2 (diff) | |
download | talos-obmc-linux-44c81a48231012e510267b9fe26403325465a19a.tar.gz talos-obmc-linux-44c81a48231012e510267b9fe26403325465a19a.zip |
USB: serial: cp210x: fix GPIO in autosuspend
commit 7b0b644b9aa2de5032db0f468fddca091d0b7b90 upstream.
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>
Fixes: cf5276ce7867 ("USB: serial: cp210x: Adding GPIO support for CP2105")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions