summaryrefslogtreecommitdiffstats
path: root/firmware/mts_cdma.fw.ihex
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-02-28 08:31:11 +0100
committerMark Brown <broonie@linaro.org>2014-03-01 04:03:36 +0100
commit236aaa6863581634bd6d599ccf7f7b38deeafdc0 (patch)
treefd65cfab7542f5b2462891d335a41caa6caa2d63 /firmware/mts_cdma.fw.ihex
parentASoC: wm8995: Use SOC_ENUM_SINGLE_VIRT_DECL() (diff)
downloadlinux-236aaa6863581634bd6d599ccf7f7b38deeafdc0.tar.xz
linux-236aaa6863581634bd6d599ccf7f7b38deeafdc0.zip
ASoC: dapm: Consolidate MUXs and virtual MUXs
MUXs and virtual MUXs are almost identical, the only difference is that for virtual MUX there is no hardware backing register in which setting is stored. This patch adds code, which is similar to what we already do for DAPM mixer controls to support virtual mixer controls, to DAPM enum controls. The new code will check if the enum does a hardware backing register and skip over reading and writing to the register if it has not. This allows us to use the same code path for both MUXs and virtual MUXs and a lot of nearly identical code can be removed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'firmware/mts_cdma.fw.ihex')
0 files changed, 0 insertions, 0 deletions