From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Mack Subject: Re: [PATCH 2/5] ALSA: snd_usb_caiaq: give better shortname Date: Tue, 2 Jun 2009 11:55:25 +0200 Message-ID: <20090602095525.GD26160@buzzloop.caiaq.de> References: <1243884987-20256-1-git-send-email-daniel@caiaq.de> <1243884987-20256-2-git-send-email-daniel@caiaq.de> <20090602072948.GO26148@buzzloop.caiaq.de> <20090602093104.GC26160@buzzloop.caiaq.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from buzzloop.caiaq.de (buzzloop.caiaq.de [212.112.241.133]) by alsa0.perex.cz (Postfix) with ESMTP id 5436924501 for ; Tue, 2 Jun 2009 11:55:29 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Tue, Jun 02, 2009 at 11:50:32AM +0200, Takashi Iwai wrote: > > What about that patch below? Works well in my tests here. > > Looks almost good, but we need to check > snd_info_check_reserved_words() too. Ok. > I guess the routine in choose_default_id() can be reused for this > function, though. Yes, choose_default_id() could be split up into some static functions which could then be used by my snd_card_make_id_unique() as well. Daniel