summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-02-28 08:31:12 +0100
committerMark Brown <broonie@linaro.org>2014-03-01 04:03:36 +0100
commit234c0b8fb0db790aaebec07d1d190e789d8ec7b9 (patch)
tree5a2d46dc06cb7bff76c948b6f843ca8378e78324 /arch
parentASoC: dapm: Consolidate MUXs and virtual MUXs (diff)
downloadlinux-234c0b8fb0db790aaebec07d1d190e789d8ec7b9.tar.xz
linux-234c0b8fb0db790aaebec07d1d190e789d8ec7b9.zip
ASoC: dapm: Break dapm_set_path_status() appart
There are three different completely independent code paths in dapm_set_path_status(). One of them is never used at all and the other two (one for mixers, one for MUXs) have their distincive callsites that always go onto the same path. Breaking the function into two parts allows us to reduce the code size and in the MUX case also do some optimizations to avoid having to calcualte the selected item for each item again. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions