diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-08 13:29:18 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-08 14:10:54 +0100 |
commit | 87bea31c7b59a07fe5a1c827eb01db3b7c3ae672 (patch) | |
tree | 79ad5ea9603bef2db55d50610a2d9e2ba3076409 /sound/soc/sh/sh7760-ac97.c | |
parent | 4f4c0072228785179d35b2bd9e48081ce9fa51f6 (diff) | |
download | talos-op-linux-87bea31c7b59a07fe5a1c827eb01db3b7c3ae672.tar.gz talos-op-linux-87bea31c7b59a07fe5a1c827eb01db3b7c3ae672.zip |
ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers
The core will sync DAPM as part of the card initialization, there is no
need for machine drivers to do so during their setup.
OMAP drivers are omitted as I know Peter already has patches for them.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh/sh7760-ac97.c')
-rw-r--r-- | sound/soc/sh/sh7760-ac97.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/sh/sh7760-ac97.c b/sound/soc/sh/sh7760-ac97.c index 917d3ceadc9d..c62ae689c4a1 100644 --- a/sound/soc/sh/sh7760-ac97.c +++ b/sound/soc/sh/sh7760-ac97.c @@ -20,12 +20,6 @@ extern struct snd_soc_dai_driver sh4_hac_dai[2]; extern struct snd_soc_platform_driver sh7760_soc_platform; -static int machine_init(struct snd_soc_pcm_runtime *rtd) -{ - snd_soc_dapm_sync(&rtd->codec->dapm); - return 0; -} - static struct snd_soc_dai_link sh7760_ac97_dai = { .name = "AC97", .stream_name = "AC97 HiFi", @@ -33,7 +27,6 @@ static struct snd_soc_dai_link sh7760_ac97_dai = { .codec_dai_name = "ac97-hifi", .platform_name = "sh7760-pcm-audio", .codec_name = "ac97-codec", - .init = machine_init, .ops = NULL, }; |