diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-28 08:31:05 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2014-03-01 12:03:34 +0900 |
| commit | b948837a32cc2a510c2baf90111c8c5dde801a66 (patch) | |
| tree | 7415413fdeef3225ca1937b405c3a84ddabffbd3 /tools/perf/scripts/python | |
| parent | ASoC: dapm: Consolidate MUXs and value MUXs (diff) | |
| download | linux-b948837a32cc2a510c2baf90111c8c5dde801a66.tar.gz linux-b948837a32cc2a510c2baf90111c8c5dde801a66.zip | |
ASoC: Add macros for defining virtual enums
With the upcoming consolidation of normal MUXs and virtual MUXs we need to be
able to distinguish between enums with and without a backing register at the
enum level. Use the same approach as used for virtual mixer controls by setting
the reg field of the enum to SND_SOC_NOPM for enums without a backing register.
This patch adds a set of helper macros that can be used to define such enums.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
