projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8dcdf8
)
ALSA: hda - Clear codec->beep at release
author
Takashi Iwai
<tiwai@suse.de>
Fri, 6 Feb 2009 15:48:10 +0000
(16:48 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 6 Feb 2009 15:48:10 +0000
(16:48 +0100)
Clear codec->beep field in snd_hda_detach_beep_device() to be sure.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_beep.c
b/sound/pci/hda/hda_beep.c
index
960fd79
..
4de5bac
100644
(file)
--- a/
sound/pci/hda/hda_beep.c
+++ b/
sound/pci/hda/hda_beep.c
@@
-138,6
+138,7
@@
void snd_hda_detach_beep_device(struct hda_codec *codec)
input_unregister_device(beep->dev);
kfree(beep);
+ codec->beep = NULL;
}
}
EXPORT_SYMBOL_HDA(snd_hda_detach_beep_device);