[alsa-devel] [PATCH] ASoC: Let snd_soc_limit_volume() take a snd_soc_card

Jarkko Nikula jarkko.nikula at bitmer.com
Sun Oct 18 19:26:03 CEST 2015


On 10/18/2015 06:04 PM, Lars-Peter Clausen wrote:
> 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 at metafoo.de>
> ---
>  include/sound/soc.h   | 2 +-
>  sound/soc/omap/rx51.c | 2 +-
>  sound/soc/soc-ops.c   | 8 ++++----

For rx51:

Acked-by: Jarkko Nikula <jarkko.nikula at bitmer.com>
Tested-by: Jarkko Nikula <jarkko.nikula at bitmer.com>


More information about the Alsa-devel mailing list