aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch')
-rw-r--r--target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch9
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch b/target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch
index a2b740fd42..869bf7b9b2 100644
--- a/target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch
+++ b/target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch
@@ -18,11 +18,9 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
drivers/tty/serial/8250/8250_exar.c | 38 +++++++++++++++++++----------
1 file changed, 25 insertions(+), 13 deletions(-)
-diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c
-index e0aa5f03004c..55b4d6d581f0 100644
--- a/drivers/tty/serial/8250/8250_exar.c
+++ b/drivers/tty/serial/8250/8250_exar.c
-@@ -275,8 +275,32 @@ static int xr17v35x_register_gpio(struct pci_dev *pcidev,
+@@ -275,8 +275,32 @@ static int xr17v35x_register_gpio(struct
return 0;
}
@@ -55,7 +53,7 @@ index e0aa5f03004c..55b4d6d581f0 100644
};
static int iot2040_rs485_config(struct uart_port *port,
-@@ -309,19 +333,7 @@ static int iot2040_rs485_config(struct uart_port *port,
+@@ -309,19 +333,7 @@ static int iot2040_rs485_config(struct u
value |= mode;
writeb(value, p + UART_EXAR_MPIOLVL_7_0);
@@ -76,6 +74,3 @@ index e0aa5f03004c..55b4d6d581f0 100644
}
static const struct property_entry iot2040_gpio_properties[] = {
---
-2.17.1
-