alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V6 0/2] ASoC: Add core API to register and cleanup DMI names for card
@ 2016-04-06  4:43 han.lu
  2016-04-06  4:43 ` [PATCH V6 1/2] ASoC: core: add API for registering and cleaning up DMI card names han.lu
  2016-04-06  4:43 ` [PATCH V6 2/2] ASoC: bytcr-rt5640: register DMI names for card han.lu
  0 siblings, 2 replies; 5+ messages in thread
From: han.lu @ 2016-04-06  4:43 UTC (permalink / raw)
  To: broonie, tiwai, vinod.koul, pierre-louis.bossart, liam.r.girdwood,
	alsa-devel
  Cc: Lu, Han

From: "Lu, Han" <han.lu@intel.com>

 Share more product information, for user space utils such as PA and UCM to
 distinguish different products.
  1. Add core APIs to register and cleanup DMI names for card.
  2. Apply the APIs to bytcr-rt5640 driver.

 changes on V6:
  1. Use dynamic allocate and cleanup for card long name
  2. Remove unneccessary arguments to simplify the API
  
 changes on V5:
  1. Use independent space to store card long_name, to avoid irrelavant
  info sharing from card component
  2. Use letter ';' instead of ':' to separate strings in long name, in
  case name strings may also contain ':' and confuse user
  3. Fix error that vendor name and firmware name were not optional 
   
 changes on V4:
  1. Replace kmalloc() and snprintf() with ksaprintf() to simplify code
    
 changes on V3:
  1. Split the core API and the API call to two patches
  2. Replace misused strcat() with snprintf()
  3. Code and comment fix 

Lu, Han (2):
  ASoC: core: add API for registering and cleaning up DMI card names
  ASoC: bytcr-rt5640: register DMI names for card

 include/sound/soc.h                   |  3 ++
 sound/soc/intel/boards/bytcr_rt5640.c | 18 ++++++++
 sound/soc/soc-core.c                  | 87 +++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+)

-- 
2.5.0

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

end of thread, other threads:[~2016-04-06  6:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06  4:43 [PATCH V6 0/2] ASoC: Add core API to register and cleanup DMI names for card han.lu
2016-04-06  4:43 ` [PATCH V6 1/2] ASoC: core: add API for registering and cleaning up DMI card names han.lu
2016-04-06  6:10   ` Takashi Sakamoto
2016-04-06  6:27     ` Han Lu
2016-04-06  4:43 ` [PATCH V6 2/2] ASoC: bytcr-rt5640: register DMI names for card han.lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).