aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_beep.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-03-24 00:36:09 +0100
committerTakashi Iwai <tiwai@suse.de>2009-03-24 00:36:09 +0100
commite7bfbb0215ee9b2fc976f7f51e20a8ae02b1d839 (patch)
tree469e5a5c9ce609e7109548a2f40d04528740d54b /sound/pci/hda/hda_beep.c
parentfe506d6bc5d7b9c0c1d630eecb32241c1d362462 (diff)
parent9b6682ff4c69484b6955f89f7902e3dde2481bed (diff)
Merge branch 'topic/hda' into for-linus
Diffstat (limited to 'sound/pci/hda/hda_beep.c')
-rw-r--r--sound/pci/hda/hda_beep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_beep.c b/sound/pci/hda/hda_beep.c
index 960fd797038..4de5bacd392 100644
--- 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);