All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] ucm: Automatically load the best config file based on the card long name
@ 2017-01-14  8:23 mengdong.lin
  2017-01-14  8:23 ` [PATCH v4 1/2] ucm: Load device-specific configuration " mengdong.lin
  2017-01-14  8:24 ` [PATCH v4 2/2] ucm: Add command 'get _file' to get the config file name of the opened card mengdong.lin
  0 siblings, 2 replies; 7+ messages in thread
From: mengdong.lin @ 2017-01-14  8:23 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, liam.r.girdwood, Mengdong Lin, mengdong.lin

From: Mengdong Lin <mengdong.lin@linux.intel.com>

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.

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

 include/use-case.h  |   1 +
 src/ucm/main.c      |  14 ++++++++
 src/ucm/parser.c    | 101 +++++++++++++++++++++++++++++++++++++++++++++++++---
 src/ucm/ucm_local.h |   3 ++
 4 files changed, 115 insertions(+), 4 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-18  3:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-14  8:23 [PATCH v4 0/2] ucm: Automatically load the best config file based on the card long name mengdong.lin
2017-01-14  8:23 ` [PATCH v4 1/2] ucm: Load device-specific configuration " mengdong.lin
2017-01-15  8:25   ` Takashi Iwai
2017-01-15 10:01     ` Lin, Mengdong
2017-01-16 10:41       ` Takashi Iwai
2017-01-18  3:52         ` Lin, Mengdong
2017-01-14  8:24 ` [PATCH v4 2/2] ucm: Add command 'get _file' to get the config file name of the opened card mengdong.lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.