diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-10-18 17:04:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-22 14:49:20 +0200 |
commit | 26d9ca3462df8f7e83fc372b23c8da5ed2b1c4f3 (patch) | |
tree | 6b05dea43a4c97116de5b5e0853abf38e9b24fee /sound/soc/soc-compress.c | |
parent | Linux 4.3-rc1 (diff) | |
download | linux-26d9ca3462df8f7e83fc372b23c8da5ed2b1c4f3.tar.xz linux-26d9ca3462df8f7e83fc372b23c8da5ed2b1c4f3.zip |
ASoC: Let snd_soc_limit_volume() take a snd_soc_card
snd_soc_limit_volume() operates on a card and the CODEC that is passed in
is only used to look up the card. Let it directly take the card instead.
This makes it possible to use it when no snd_soc_codec is available.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-compress.c')
0 files changed, 0 insertions, 0 deletions