Skip to content

Commit

Permalink
ASoC: pxa: Remove redundant snd_soc_dapm_sync() calls from machine dr…
Browse files Browse the repository at this point in the history
…ivers

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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 13, 2011
1 parent b29a33a commit dbe37db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion sound/soc/pxa/poodle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 0 additions & 1 deletion sound/soc/pxa/spitz.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dbe37db

Please sign in to comment.