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>
This commit is contained in:
David Henningsson 2015-01-10 13:02:22 +01:00 • committed by Takashi Iwai
commit 624afe4dc9