summaryrefslogtreecommitdiffstats
path: root/crypto/seed.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-04-04 11:18:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 18:54:07 +0200
commite61c38d85b7392e033ee03bca46f1d6006156175 (patch)
treef2a7d13567afde1e4991c168617e23c10e397ade /crypto/seed.c
parenttty: fix comment typo s/repsonsible/responsible/ (diff)
downloadlinux-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 'crypto/seed.c')
0 files changed, 0 insertions, 0 deletions