]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ASoC: pxa: Remove redundant snd_soc_dapm_sync() calls from machine drivers
authorAxel Lin <axel.lin@gmail.com>
Wed, 12 Oct 2011 23:38:56 +0000 (07:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 13 Oct 2011 10:50:04 +0000 (11:50 +0100)
The core will sync DAPM as part of the card initialization, there is no
need for machine drivers to do so during their setup.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/poodle.c
sound/soc/pxa/spitz.c

index da3ae4316cf2b9930d46fd2cf47f01c357f4f376..4c29bc1f9cfedf10de921fd8eb338290ff0c5564 100644 (file)
@@ -265,7 +265,6 @@ static int poodle_wm8731_init(struct snd_soc_pcm_runtime *rtd)
        /* Set up poodle specific audio path audio_map */
        snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
 
-       snd_soc_dapm_sync(dapm);
        return 0;
 }
 
index ce920e3cfea1ff58e825236da133250831239a25..c2d6ff9b1588a63c7faed4477e944b5948da51d7 100644 (file)
@@ -301,7 +301,6 @@ static int spitz_wm8750_init(struct snd_soc_pcm_runtime *rtd)
        /* Set up spitz specific audio paths */
        snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
 
-       snd_soc_dapm_sync(dapm);
        return 0;
 }