Andy Green 94d32f99c6 imx-serial-excessive-status-clearing-on-break.patch
cc: Sasha Hauer <kernel@pengutronix.de>

We noticed that we were only able to communicate once with a GSM module
per session, if we powered down the module then the serial driver was
broken until reset, no traffic or /proc/interrupts activity could be
seen any more.

Volker noticed it was provoked by a long "break" seen on the wire when
the RX was not driven during powerdown, we discovered we could kill the
serial driver just by forcing RX low extenally for a little while.

I saw that the processing for BREAK in the driver gets too excited and
clears down all set bits in USR2, including that a character is pending.
This stops all further characters getting processed.

The attached one-liner makes the serial driver immortal against BREAK.

Signed-off-by: Andy Green <andy.green@txtr.com>
Signed-off-by: Volker Ernst <volker.ernst@txtr.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-16 17:16:47 +01:00
..
2009-12-11 15:18:03 -08:00
2009-09-19 13:13:19 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-08-31 18:38:16 +02:00
2009-09-19 13:13:28 -07:00
2009-10-01 16:11:15 -07:00
2009-12-15 08:53:27 -08:00
2009-09-19 13:13:28 -07:00
2009-09-23 07:39:43 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-12-15 08:53:25 -08:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00