summaryrefslogtreecommitdiffstats
path: root/include/sound
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 12:03:36 +0900
commit234c0b8fb0db790aaebec07d1d190e789d8ec7b9 (patch)
tree5a2d46dc06cb7bff76c948b6f843ca8378e78324 /include/sound
parent236aaa6863581634bd6d599ccf7f7b38deeafdc0 (diff)
downloadlinux-234c0b8fb0db790aaebec07d1d190e789d8ec7b9.tar.bz2
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 'include/sound')
0 files changed, 0 insertions, 0 deletions