[ALSA] ppc-beep - handle errors from input_register_device()
authorDmitry Torokhov <dtor@mail.ru>
Thu, 3 Aug 2006 13:06:14 +0000 (15:06 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:39:55 +0000 (10:39 +0200)
commitf03d68fe343d70bb06ecdb3d70dcf0e678ed99f9
tree5d5a232219a95acfb2bfe449968b7fbb0f1e5df8
parent548a648b98318e4b843b636dd2c7f42377e19a00
[ALSA] ppc-beep - handle errors from input_register_device()

ppc-beep: handle errors from input_register_device()
(Also fixed the wrong memory release in the error path.)

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/ppc/beep.c