diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-04-04 11:18:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 18:54:07 +0200 |
commit | e61c38d85b7392e033ee03bca46f1d6006156175 (patch) | |
tree | f2a7d13567afde1e4991c168617e23c10e397ade /init/do_mounts_rd.c | |
parent | tty: fix comment typo s/repsonsible/responsible/ (diff) | |
download | linux-e61c38d85b7392e033ee03bca46f1d6006156175.tar.xz linux-e61c38d85b7392e033ee03bca46f1d6006156175.zip |
serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off
If the UART is operated in DTE mode and UCR3_DCD or UCR3_RI are 1 (which
is the reset default) and the opposite side pulls the respective line to
its active level the irq triggers after it is requested in .probe.
These irqs were already disabled in .startup but this might be too late.
Also setup of the UFCR_DCEDTE bit (currently done in .set_termios) is
done very late which is critical as it also controls direction of some
pins.
So setup UFCR_DCEDTE earlier (in .probe) and also disable the broken
irqs in DTE mode there before requesting irqs.
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions