mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
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 <lihaoxiang@isrc.iscas.ac.cn>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Fixes:
|
||
|---|---|---|
| .. | ||
| braille | ||
| speakup | ||
| Kconfig | ||
| Makefile | ||