From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH v3] us122l: add snd_us122l_free() Date: Mon, 20 Apr 2009 13:52:20 +0200 Message-ID: References: <200904171456.25980.fzu@wemgehoertderstaat.de> <200904201301.22375.fzu@wemgehoertderstaat.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 3C7EC243FE for ; Mon, 20 Apr 2009 13:52:21 +0200 (CEST) In-Reply-To: <200904201301.22375.fzu@wemgehoertderstaat.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Karsten Wiese Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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 > 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