projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge 6.2-rc5 into char-misc-next
[linux-2.6-microblaze.git]
/
drivers
/
accessibility
/
speakup
/
spk_ttyio.c
diff --git
a/drivers/accessibility/speakup/spk_ttyio.c
b/drivers/accessibility/speakup/spk_ttyio.c
index
08cf8a1
..
07373b3
100644
(file)
--- a/
drivers/accessibility/speakup/spk_ttyio.c
+++ b/
drivers/accessibility/speakup/spk_ttyio.c
@@
-354,6
+354,9
@@
void spk_ttyio_release(struct spk_synth *in_synth)
{
struct tty_struct *tty = in_synth->dev;
+ if (tty == NULL)
+ return;
+
tty_lock(tty);
if (tty->ops->close)