From: Christopher Alexander Tobias Schulze Date: Sun, 3 Aug 2014 14:01:53 +0000 (+0200) Subject: sunsab: Fix detection of BREAK on sunsab serial console X-Git-Tag: omap-for-v3.17/fixes-against-rc2~148^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe418231b195c205701c0cc550a03f6c9758fd9e;p=pandora-kernel.git sunsab: Fix detection of BREAK on sunsab serial console 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed