summaryrefslogtreecommitdiffstats
path: root/.gitignore
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 12:03:36 +0900
commit236aaa6863581634bd6d599ccf7f7b38deeafdc0 (patch)
treefd65cfab7542f5b2462891d335a41caa6caa2d63 /.gitignore
parentf6b45c28f451e8e415db49f693b2fec90c2cb557 (diff)
downloadop-kernel-dev-236aaa6863581634bd6d599ccf7f7b38deeafdc0.zip
op-kernel-dev-236aaa6863581634bd6d599ccf7f7b38deeafdc0.tar.gz
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud