From: Takashi Iwai Subject: Re: [PATCH v6 0/3] ucm: Automatically load the best config file based on the card long name Date: Wed, 18 Jan 2017 11:56:18 +0100 Message-ID: References: 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 09E3B267B2B for ; Wed, 18 Jan 2017 11:56:19 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: mengdong.lin@linux.intel.com Cc: liam.r.girdwood@linux.intel.com, mengdong.lin@intel.com, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Wed, 18 Jan 2017 04:52:26 +0100, mengdong.lin@linux.intel.com wrote: > > From: Mengdong Lin > > Intel DSP platform drivers are used by many different devices. For user > space to differentiate them, now ASoC provide API for machine drivers to > include the DMI info (vendor, product and board) in card long name. This > series will add UCM support for loading best device-specific configuration > based on the card long name. > > Mengdong Lin (2): > ucm: Load device-specific configuration file based on the card long > name > ucm: Add command 'get _file' to get the config file name of the opened > card > > History: > v2: Request the device-specific file name to match the card long name, > no long use automatic key word matching and scoring to avoid error > and uncertainty. And add command to check the name of actually loaded > configuration file. > > v3: Fix num in strncpy of the long name, which should be > MAX_CARD_LONG_NAME - 1, not MAX_CARD_LONG_NAME (80). > > > v4: No code change. Just update on comments because the kernel v4 patches > add DMI product version to the card long name, and use "-" as > the separator between DMI fields. > > v5: Revise the comments. Add patch to assure the input card name not to > exceed the maximum card long name supported by kernel to avoid use > strncpy and strncmp later. > > v6: No code change. Fix error in comments: use slash to replace backslash > in file path. > > Mengdong Lin (3): > ucm: Assure the user input card name not to exceed max size of card > long name > ucm: Load device-specific configuration file based on the card long > name > ucm: Add command 'get _file' to get the config file name of the opened > card Applied all patches now. Thanks. Takashi