At Mon, 20 Apr 2009 13:01:21 +0200, Karsten Wiese wrote:
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
Applied now. Thanks.
BTW, unless you need different patches, you don't have to send the patch to stable@kernel.org. They will pick up automatically when the relevant commit appears in the upstream kernel if it has Cc to stable@kernel.org in the changelog.
Takashi