commit | 01ade528d424420093973ede20d7394d2cd81190 | [log] [tgz] |
---|---|---|
author | Karsten Wiese <fzu@wemgehoertderstaat.de> | Fri Jul 27 12:15:42 2007 +0200 |
committer | Jaroslav Kysela <perex@perex.cz> | Tue Oct 16 15:58:06 2007 +0200 |
tree | f701752eb7c1b9dbb6e4ef063e3f04a7541ab7b6 | |
parent | 52a6db82efe345af62aa72c6ce9dcb89a4d993b5 [diff] |
[ALSA] snd_usb_caiaq_input_free() fix input_free_device()'s comment says: input_free_device() should only be used if input_register_device() was not called yet or if it failed. Once device was registered use input_unregister_device() and memory will be freed once last refrence to the device is dropped. Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>