]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: add SOC_VALUE_ENUM_EXT
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Mon, 7 Jul 2014 12:16:54 +0000 (13:16 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 7 Jul 2014 14:36:38 +0000 (16:36 +0200)
commitac44c167ed0e8ce430703bd051d7421e4e0ceeea
treec9c0e25b919e78ba334bfde70bdf4ad9c48f1582
parent29230ba12c9ebdc4bb6e22babcaec9dfa3d76ff4
ASoC: add SOC_VALUE_ENUM_EXT

Adds an equivalent of SOC_ENUM_EXT for value enums

Strictly speaking SOC_ENUM_EXT can also be used to define
a value enum since the only difference is the get and set
functions. But this doesn't look good in code because it is
inconsistent with the normal control definitions. Adding a
specific SOC_VALUE_ENUM_EXT is better for code clarity.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h