aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2014-05-19 00:56:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-11 12:03:24 -0700
commite7eb1ab9a3bb72caa580688f26e582ce29343f6b (patch)
tree2b176aeb88b1f820928e0d692deaf247d613fbac /sound
parent6e9a86e1e78b462d38e74ad47a8d32a3e0abe6bd (diff)
Staging: speakup: Move pasting into a work item
commit d7500135802ca55b3f4e01a16544e8b34082f8c3 upstream. Input is handled in softirq context, but when pasting we may need to sleep. speakup_paste_selection() currently tries to bodge this by busy-waiting if in_atomic(), but that doesn't help because the ldisc may also sleep. For bonus breakage, speakup_paste_selection() changes the state of current, even though it's not running in process context. Move it into a work item and make sure to cancel it on exit. References: https://bugs.debian.org/735202 References: https://bugs.debian.org/744015 Reported-by: Paul Gevers <elbrus@debian.org> Reported-and-tested-by: Jarek Czekalski <jarekczek@poczta.onet.pl> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions