diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-28 08:31:12 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-01 12:03:36 +0900 |
commit | 234c0b8fb0db790aaebec07d1d190e789d8ec7b9 (patch) | |
tree | 5a2d46dc06cb7bff76c948b6f843ca8378e78324 /include | |
parent | 236aaa6863581634bd6d599ccf7f7b38deeafdc0 (diff) | |
download | op-kernel-dev-234c0b8fb0db790aaebec07d1d190e789d8ec7b9.zip op-kernel-dev-234c0b8fb0db790aaebec07d1d190e789d8ec7b9.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions