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)
commit6c9d8cf6372ed2995a3d982f5c1f966e842101cc
tree1a71ce7d37e0183e7e01968e64774711d444d10e
parentbc92657a11c0982783979bbb84ceaf58ba222124
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