From: Takashi Iwai Subject: Re: [PATCH] alsa-lib: if card driver name is empty string, use card name instead Date: Tue, 20 Sep 2011 08:39:17 +0200 Message-ID: References: <1316538944-31853-1-git-send-email-scott.jiang.linux@gmail.com> 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 DB3121038FF for ; Tue, 20 Sep 2011 08:39:17 +0200 (CEST) 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: Scott Jiang Cc: uclinux-dist-devel@blackfin.uclinux.org, alsa-devel@alsa-project.org, Mark Brown List-Id: alsa-devel@alsa-project.org At Tue, 20 Sep 2011 14:37:04 +0800, Scott Jiang wrote: > > 2011/9/20 Takashi Iwai : > > At Tue, 20 Sep 2011 13:15:44 -0400, > > Scott Jiang wrote: > >> > >> Some drivers don't have a card driver name, but they have a nice card name containing enough info. > >> So we can use card name to search card config if we found driver name is not valid. > >> > >> Signed-off-by: Scott Jiang > > > > It's rather a bug of driver, no? > > I don't think we need to work around it. > > > Mark said it's a bug of app..., he believes driver has provided enough > info in card name. No, the driver name should be set, too. Takashi