summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2008-09-03 02:35:06 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-09-08 04:44:20 -0700
commitda924e49a005cdb4bac9a958f3edff958b770069 (patch)
treeaba1a76095ce8aadc8d03a06bf5d7183598065f9 /mm
parentcd9295c8b95d690c47f5f0000e3128960de8cd8b (diff)
8250: improve workaround for UARTs that don't re-assert THRE correctly
commit 363f66fe06c75270b669c88e321e6b354ba0201e upstream Recent changes to tighten the check for UARTs that don't correctly re-assert THRE (01c194d9278efc15d4785ff205643e9c0bdcef53: "serial 8250: tighten test for using backup timer") caused problems when such a UART was opened for the second time - the bug could only successfully be detected at first initialization. For users of this version of this particular UART IP it is fatal. This patch stores the information about the bug in the bugs field of the port structure when the port is first started up so subsequent opens can check this bit even if the test for the bug fails. David Brownell: "My own exposure to this is that the UART on DaVinci hardware, which TI allegedly derived from its original 16550 logic, has periodically gone from working to unusable with the mainline 8250.c ... and back and forth a bunch. Currently it's "unusable", a regression from some previous versions. With this patch from Will, it's usable." Signed-off-by: Will Newton <will.newton@gmail.com> Acked-by: Alex Williamson <alex.williamson@hp.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions