]> git.baikalelectronics.ru Git - kernel.git/commit
serial: exar: Leave MPIOs as output for Commtech adapters
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 2 Jun 2017 07:28:44 +0000 (09:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:23:36 +0000 (11:23 +0200)
commit5c9f6076bb0ee778ceede5d08bb856d708476147
treeeb4542783461d63392c76429e44f3b0770685098
parent0af06359c1c3fd9be7a1b9a67e9615534c4d3cd5
serial: exar: Leave MPIOs as output for Commtech adapters

Commtech adapters apparently need the original setting as outputs, see
https://marc.info/?l=linux-gpio&m=149557425201323&w=2. Account for that.

Fixes: a8801f7fa94a ("serial: exar: Preconfigure xr17v35x MPIOs as output")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c