[alsa-devel] [PATCH]ASOC:DAPM: update DPCM runtime when mixer/mux changes

anish singh anish198519851985 at gmail.com
Mon Dec 16 09:03:01 CET 2013


<This patch is dependent on the $subject
so i have used $subject instead of different
one>
I can see only one usage of:
snd_soc_dapm_mixer_update_power
and zero user of:
snd_soc_dapm_mux_update_power()

And after this $subject patch I think
both of these functions becomes redundant.

It will help in reducing the code size if we
can get rid of this dead code.We can
also remove code from tlv320aic3x.c and
just let it use the core implementation.

grep -rniI "snd_soc_dapm_mixer_update_power" sound/

sound/soc/soc-dapm.c:2149:
int snd_soc_dapm_mixer_update_power
sound/soc/codecs/tlv320aic3x.c:174:
snd_soc_dapm_mixer_update_power

grep -rniI "snd_soc_dapm_mux_update_power" sound/
no users.

I would send a patch if experts agree.


More information about the Alsa-devel mailing list