Christopher Alexander Tobias Schulze c0ba4c6d0a sunsab: Fix detection of BREAK on sunsab serial console
[ Upstream commit fe418231b195c205701c0cc550a03f6c9758fd9e ]

Fix detection of BREAK on sunsab serial console: BREAK detection was only
performed when there were also serial characters received simultaneously.
To handle all BREAKs correctly, the check for BREAK and the corresponding
call to uart_handle_break() must also be done if count == 0, therefore
duplicate this code fragment and pull it out of the loop over the received
characters.

Patch applies to 3.16-rc6.

Signed-off-by: Christopher Alexander Tobias Schulze <cat.schulze@alice-dsl.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-14 09:51:50 +08:00
..
2014-04-05 15:37:40 -07:00
2014-07-17 16:23:14 -07:00
2014-04-08 13:27:40 +02:00
2014-08-07 16:53:52 -07:00
2014-07-31 12:44:07 -07:00
2014-07-31 12:44:08 -07:00
2014-07-31 12:44:08 -07:00
2014-08-07 16:53:52 -07:00
2014-05-12 00:27:26 -04:00
2014-04-18 16:40:08 -07:00
2014-08-07 16:53:51 -07:00
2014-04-03 14:05:02 -07:00
2014-05-22 04:26:23 +09:00