[alsa-devel] [PATCH 0/2] ASoC: core: volume control using signed register values

Markus Pargmann mpa at pengutronix.de
Thu Jan 16 16:02:09 CET 2014


There are a lot of codecs using negative and positive volume control ranges as
values in their registers. These two patches add support for arbitrary size
signed integer values in registers.



Markus Pargmann (2):
  ASoC: core: Add signed register volume control logic
  ASoC: soc.h: Add SOC_DOUBLE_R_S_TLV

 include/sound/soc.h  | 15 ++++++++++++
 sound/soc/soc-core.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 76 insertions(+), 7 deletions(-)


More information about the Alsa-devel mailing list