aboutsummaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2014-03-28 09:28:11 +0000
committerDaniel Thompson <daniel.thompson@linaro.org>2015-01-05 09:43:38 +0000
commit1b213f2e3b4bf0be4b3db2f77ba2ca3649142d18 (patch)
tree93e3f32aff2357b39688355179eeb8912d6dea09 /drivers/media
parentb7392d2247cfe6771f95d256374f1a8e6a6f48d6 (diff)
serial: Emulate break using control characters
Currently the magic SysRq functions are accessed by sending a break. Unfortunately some networked serial proxies makes is difficult to send a break meaning SysRq functions cannot be reached. We avoid this problem by allowing the (fairly unlikely) sequence of ^B^R^K characters to emulate a real break. This approach is very nearly as robust as normal sysrq/break handling because all trigger recognition happens during interrupt handling however to emulate a break we must enter the ISR four times (instead of twice) and manage an extra byte of state. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions