[PATCH V5 0/2] ASoC: Add core API to register DMI names to card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 Share more product information, for user space utils such as PA and UCM to
 distinguish different products.
  1. Add a core API to register DMI names to card.
  2. Apply the API to bytcr-rt5640 driver.
 
 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 confusing 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 DMI card names
  ASoC: bytcr-rt5640: register DMI names for card

 include/sound/soc.h                   |  3 ++
 sound/soc/intel/boards/bytcr_rt5640.c | 13 +++++++
 sound/soc/soc-core.c                  | 67 +++++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+)

-- 
2.5.0

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux