]> git.karo-electronics.de Git - karo-tx-linux.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)
commitbea8be656185a2808a2f255f4a91ff18215a9d0c
treeeb4542783461d63392c76429e44f3b0770685098
parent72ce5732eeca023abb04e40eb77a6bc1169d9b9d
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: 7dea8165f1d6 ("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