Staging: speakup: don't die if accessing sysfs without synth
authorSasha Levin <sasha.levin@oracle.com>
Tue, 27 May 2014 23:08:36 +0000 (19:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 00:35:50 +0000 (17:35 -0700)
commit8b9c012a425b23c1df52cc1ddfec8259035c6754
tree932e1f6996c3482afdf033fec451a87dddc25694
parent6371f2105a94121d3a061b04aaf0b8b392852bc5
Staging: speakup: don't die if accessing sysfs without synth

Setting a 'silent' parameter without a synth would crash the kernel.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/synth.c