]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Add single controls with specified range of values
authorAdam Thomson <Adam.Thomson@diasemi.com>
Thu, 31 May 2012 14:18:01 +0000 (15:18 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:06:41 +0000 (13:06 +0100)
commit4685e3938a98ed02392978d03ba6c3723e6e4e94
tree1a71ce7d37e0183e7e01968e64774711d444d10e
parent38e84a002651fa5825d857b8b50554100e3b441d
ASoC: core: Add single controls with specified range of values

Control type added for cases where a specific range of values
within a register are required for control.

Added convenience macros:

SOC_SINGLE_RANGE
SOC_SINGLE_RANGE_TLV

Added accessor implementations:

snd_soc_info_volsw_range
snd_soc_put_volsw_range
snd_soc_get_volsw_range

Signed-off-by: Michal Hajduk <Michal.Hajduk@diasemi.com>
Signed-off-by: Adam Thomson <Adam.Thomson@diasemi.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-core.c