commit | 54f7190b23080c7ac32078ed6a346bdc591ebef1 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Sun Dec 27 13:27:39 2009 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Sun Dec 27 13:34:01 2009 +0100 |
tree | e6645e96a9aac1c9248ebf6d8a23b9de35dd2edf | |
parent | 411fe85c7653f51403c2a6fd9026b0db2ab19478 [diff] |
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 <tiwai@suse.de>