OpenCloudOS-Kernel/drivers/ipack/devices
Federico Vaga 95e838c915 ipoctal: clear break interrupt as soon as it occurs
In some condition we receive the break interrupt but nothing is putted
in the Rx FIFO and the correspondend bit in the status register is not
set. Thus, no-one clear the interrupt and the handler will be called
forever.

This patch clear the break interrupt as soon as it occurs. Then, if the
break character '\0' is putted in the fifo we will manage it.

We can also unmask the Break interrupt but its bit in ISR is still set
on break. So I think is better to keep the registers clean.

Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-23 23:26:42 -07:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Staging: ipack: move out of staging 2012-11-16 08:14:18 -08:00
ipoctal.c ipoctal: clear break interrupt as soon as it occurs 2014-09-23 23:26:42 -07:00
ipoctal.h drivers/ipack/devices/ipoctal.h: Fix typo in include guard 2014-09-23 23:13:13 -07:00
scc2698.h Staging: ipack: move out of staging 2012-11-16 08:14:18 -08:00