staging: speakup: fix failure handling
authorWilliam Hubbs <w.d.hubbs@gmail.com>
Thu, 16 Dec 2010 19:26:58 +0000 (13:26 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 10 Jan 2011 20:26:10 +0000 (12:26 -0800)
commit7959d55679e4360205c9ebc89d40a5503c53bae2
treeb48d85556c24078d6c8dd623ce18bb8f920cbbb0
parent7571f089d7522a95c103558faf313c7af8856ceb
staging: speakup: fix failure handling

fix the failure handling in kobjects and the main function so that we
release the virtual keyboard if we exit due to another failure.

Signed-off-by: William Hubbs <w.d.hubbs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/speakup/kobjects.c
drivers/staging/speakup/main.c