summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/host.c
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2019-10-25 10:33:27 +0300
committerDaniel Thompson <daniel.thompson@linaro.org>2019-10-28 15:08:10 +0300
commitcdca8d8900dd33ce6b8b526e247d2a6009d05de0 (patch)
tree7933f560d51b2db626038fe5d85725657e272d58 /drivers/usb/cdns3/host.c
parent4f27e824bf83dfc2f6dc1a54fae419be7cd335af (diff)
downloadlinux-cdca8d8900dd33ce6b8b526e247d2a6009d05de0.tar.xz
kdb: Improve handling of characters from different input sources
Currently if an escape timer is interrupted by a character from a different input source then the new character is discarded and the function returns '\e' (which will be discarded by the level above). It is hard to see why this would ever be the desired behaviour. Fix this to return the new character rather than the '\e'. This is a bigger refactor than might be expected because the new character needs to go through escape sequence detection. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20191025073328.643-5-daniel.thompson@linaro.org
Diffstat (limited to 'drivers/usb/cdns3/host.c')
0 files changed, 0 insertions, 0 deletions