serial: ns16550: add setconfig support
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Fri, 2 Nov 2018 20:28:08 +0000 (21:28 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:52:00 +0000 (16:52 -0500)
commit9ad3b049ed9f8b97d76b0e5986e7258bb0a0c92e
treef072f36a4a491b019cf39ea79daeff1fd598be5c
parent0a16868757f40a4b5578c0cf65d3bfc8d3fd7dc0
serial: ns16550: add setconfig support

Add possibility to update the serial parity used.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
drivers/serial/ns16550.c