aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/hp-wmi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-12-27 13:27:39 +0100
committerTakashi Iwai <tiwai@suse.de>2009-12-27 13:34:01 +0100
commit54f7190b23080c7ac32078ed6a346bdc591ebef1 (patch)
treee6645e96a9aac1c9248ebf6d8a23b9de35dd2edf /drivers/platform/x86/hp-wmi.c
parentALSA: hda - Don't cache beep controls (diff)
downloadlinux-dev-54f7190b23080c7ac32078ed6a346bdc591ebef1.tar.xz
linux-dev-54f7190b23080c7ac32078ed6a346bdc591ebef1.zip
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>
Diffstat (limited to 'drivers/platform/x86/hp-wmi.c')
0 files changed, 0 insertions, 0 deletions