From: Takashi Iwai Date: Sun, 27 Dec 2009 12:27:39 +0000 (+0100) Subject: ALSA: hda - Fix Oops at reloading beep devices X-Git-Tag: v2.6.33-rc3~38^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54f7190b23080c7ac32078ed6a346bdc591ebef1;p=pandora-kernel.git ALSA: hda - Fix Oops at reloading beep devices The recent change for supporting dynamic beep device allocation caused a problem resulting in Oops at reloading the driver. Also, it ignores the error from input device registration. This patch fixes the wrong check in snd_hda_detach_beep_device(), and returns an error when the input device registration fails properly. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed