diff options
author | Dave Martin <Dave.Martin@arm.com> | 2015-04-27 17:49:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-06 22:26:56 +0200 |
commit | f28c1d0a78a8c6a217ac5362cb719efa169ae2a7 (patch) | |
tree | 791fbd7d101451c024e11a907d4080fc89c6fcc0 /drivers/watchdog/omap_wdt.h | |
parent | Linux 4.1-rc2 (diff) | |
download | linux-f28c1d0a78a8c6a217ac5362cb719efa169ae2a7.tar.xz linux-f28c1d0a78a8c6a217ac5362cb719efa169ae2a7.zip |
Revert "serial/amba-pl011: Leave the TX IRQ alone when the UART is not open"
This reverts commit f2ee6dfa0e8597eea8b98d240b0033994e20d215.
Jakub KiciĆski observed that this patch can cause the pl011
driver to hang if if the only process with a pl011 port open is
killed by a signal, pl011_shutdown() can get called with an
arbitrary amount of data still in the FIFO.
Calling _shutdown() with the TX FIFO non-empty is questionable
behaviour and my itself be a bug.
Since the affected patch was speculative anyway, and brings limited
benefit, the simplest course is to remove the assumption that TXIS
will always be left asserted after the port is shut down.
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/omap_wdt.h')
0 files changed, 0 insertions, 0 deletions