doubletalk: probe failure causes OOPS
authorAlan Cox <alan@linux.intel.com>
Mon, 15 Dec 2014 11:33:08 +0000 (11:33 +0000)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Jan 2015 12:56:05 +0000 (13:56 +0100)
The code bothers to probe for the device, but on failing to find it proceeds
to try and release a NULL resource, thereby ruining it's prior good
behaviour

Resolves-Bug: https://bugzilla.kernel.org/show_bug.cgi?id=88581
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/staging/speakup/speakup_dtlk.c