Files
Haoxiang Li a76acbaec9 accessibility: speakup: unregister tty ldisc on later init failures
The ldisc registration is intentionally non-fatal, since some synth
drivers do not use tty/ldisc.  However, once speakup_init() continues
past the registration point and later fails, the init unwind path should
mirror speakup_exit() and call spk_ttyio_unregister_ldisc().

Add the missing unregister call to the error path after synth_release(),
matching the normal module exit cleanup order.

Signed-off-by: Haoxiang Li <[email protected]>
Signed-off-by: Samuel Thibault <[email protected]>
Fixes: e23a9b439c ("staging: speakup: safely register and unregister ldisc")
Cc: [email protected]
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2026-07-17 14:54:56 +02:00
..
2020-07-29 14:02:41 +02:00
2020-07-29 14:02:41 +02:00