diff options
author | Karsten Wiese <fzu@wemgehoertderstaat.de> | 2009-04-20 07:01:21 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-04-20 07:39:38 -0400 |
commit | 5d4af1be06affa2b42cdf59cd376752be1f934b3 (patch) | |
tree | 65617051a596a59159b5d69abe5c8d9c68013e19 /sound/synth | |
parent | f600f6c4824d7e40be370f7e26ab0fbc3f6f911c (diff) |
ALSA: us122l: add snd_us122l_free()
Use it to clean up snd_us122l_card_used[].
Without patch unplugging of an US122L soundcard didn't reset the
corresponding element of snd_us122l_card_used[] to 0.
The (SNDRV_CARDS + 1)th plugging in did not result in creating the soundcard
device anymore.
Index values supplied with the modprobe command line were not used correctly
anymore after the first unplugging of an US122L.
Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions