serial/8250_pci: setup-quirk workaround for the kt serial controller
authorDan Williams <dan.j.williams@intel.com>
Tue, 22 Nov 2011 21:41:24 +0000 (13:41 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 04:11:20 +0000 (20:11 -0800)
commit448ac154c957c4580531fa0c8f2045816fe2f0e7
tree45b5f8c1108baa78841b9fc59a9afdfd67a6c712
parentd0758a285caaf86192cdb22136a5eb84ed72f276
serial/8250_pci: setup-quirk workaround for the kt serial controller

Workaround dropped notifications in the iir register.  Prevent reads
coincident with new interrupt notifications by reading the iir at most
once per interrupt.

Reported-by: Nhan H Mai <nhan.h.mai@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/8250.c
drivers/tty/serial/8250_pci.c
include/linux/serial_core.h