projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f4936
)
ALSA: hda - fixup input_free_device called after input_unregister_device
author
David Henningsson
<david.henningsson@canonical.com>
Sat, 10 Jan 2015 12:02:22 +0000
(13:02 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Sun, 11 Jan 2015 10:26:12 +0000
(11:26 +0100)
Input_unregister_device will internally free the device, so
input_free_device should not be called.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index 09d2131426330e75e69287544e38dc7891adf56b..a50e15e166c68441c94b898a7bb6462327e834d4 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-3548,7
+3548,6
@@
static void alc280_fixup_hp_gpio2_mic_hotkey(struct hda_codec *codec,
break;
case HDA_FIXUP_ACT_FREE:
input_unregister_device(spec->kb_dev);
- input_free_device(spec->kb_dev);
spec->kb_dev = NULL;
}
#endif