Searched hist:c3c00b6f7f79be1dd1aa0969ee0ab7d1f79eda79 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | st-asc.c | diff c3c00b6f7f79be1dd1aa0969ee0ab7d1f79eda79 Fri Mar 28 05:53:10 CDT 2014 Daniel Thompson <daniel.thompson@linaro.org> serial: st-asc: Fix SysRq char handling
This driver, like several others, uses the upper bits of the character to track both real and dummy state. Unfortunately it neglects to mask these bits properly when passing the character data around. This means neither break detection nor sysrq character handling work correctly.
This patch adds the requires masking and has been tested to confirm that it correctly handles magic sysrq sequences on ST's B2020 board.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|