summaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx/goni_wm8994.c
diff options
context:
space:
mode:
authorJassi Brar2010-11-22 07:37:04 +0100
committerMark Brown2010-11-23 15:07:24 +0100
commitfcd8c742b92d834dee804b2a394cc575dd3a4084 (patch)
treec9537b6bc3da2827aa59128601ce2afd7d2320bc /sound/soc/s3c24xx/goni_wm8994.c
parentASoC: SMARTQ: Move to use new I2S driver (diff)
downloadkernel-qcow2-linux-fcd8c742b92d834dee804b2a394cc575dd3a4084.tar.gz
kernel-qcow2-linux-fcd8c742b92d834dee804b2a394cc575dd3a4084.tar.xz
kernel-qcow2-linux-fcd8c742b92d834dee804b2a394cc575dd3a4084.zip
ASoC: GONI: Move to use new I2S driver
Modify the goni_wm8994.c to use new i2s controller driver. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx/goni_wm8994.c')
-rw-r--r--sound/soc/s3c24xx/goni_wm8994.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sound/soc/s3c24xx/goni_wm8994.c b/sound/soc/s3c24xx/goni_wm8994.c
index 0badcc56e93c..dcfac546cb81 100644
--- a/sound/soc/s3c24xx/goni_wm8994.c
+++ b/sound/soc/s3c24xx/goni_wm8994.c
@@ -25,7 +25,7 @@
#include <linux/mfd/wm8994/registers.h>
#include "../codecs/wm8994.h"
#include "dma.h"
-#include "s3c64xx-i2s.h"
+#include "i2s.h"
#define MACHINE_NAME 0
#define CPU_VOICE_DAI 1
@@ -163,12 +163,6 @@ static int goni_hifi_hw_params(struct snd_pcm_substream *substream,
if (ret < 0)
return ret;
- /* set the cpu system clock */
- ret = snd_soc_dai_set_sysclk(cpu_dai, S3C64XX_CLKSRC_PCLK,
- 0, SND_SOC_CLOCK_IN);
- if (ret < 0)
- return ret;
-
/* set codec DAI configuration */
ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM);
@@ -249,7 +243,7 @@ static struct snd_soc_dai_link goni_dai[] = {
{
.name = "WM8994",
.stream_name = "WM8994 HiFi",
- .cpu_dai_name = "s3c64xx-i2s-v4",
+ .cpu_dai_name = "samsung-i2s.0",
.codec_dai_name = "wm8994-hifi",
.platform_name = "samsung-audio",
.codec_name = "wm8994-codec.0-0x1a",