ALSA: hda - fixup input_free_device called after input_unregister_device
authorDavid Henningsson <david.henningsson@canonical.com>
Sat, 10 Jan 2015 12:02:22 +0000 (13:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 11 Jan 2015 10:26:12 +0000 (11:26 +0100)
commit624afe4dc9a08992b200046dfe8a61f19bab74ab
tree3e75876553979df7349491e6ab56a0aeb94923e3
parente9f49369722bd7dd53f90467196df4b952eac1b6
ALSA: hda - fixup input_free_device called after input_unregister_device

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