]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: omap: Use serial8250_em485_supported
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Fri, 16 Sep 2022 11:09:55 +0000 (13:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2022 14:38:06 +0000 (16:38 +0200)
commited5b182961723a42232f2fbc3ebe2daeaf365c50
tree8271df67539a918bf9484b724f1009faa06c262b
parentc013899464ba6cc1f8cec41acf3300582de5112a
serial: 8250: omap: Use serial8250_em485_supported

8250_omap uses em485, fill in rs485_supported accordingly. This makes
RS485 work with 8250_omap again, which was broken with the introduction
of the RS485 config sanitization.

Fixes: 44aa296bbbfdb ("serial: Sanitize rs485_struct")
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Link: https://lore.kernel.org/r/20220916110955.161099-1-matthias.schiffer@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c