]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit1e005bfae83290f6673f8213a418cc0e12868c2d
tree8271df67539a918bf9484b724f1009faa06c262b
parent60f361722ad2ae5ee667d0b0545d40c42f754daf
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: be2e2cb1d2819 ("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