From: Ben Dooks <ben-linux@fluff.org>
To: alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com
Cc: Ben Dooks <ben-linux@fluff.org>
Subject: [PATCH] ASoC: Fix jive_wm8750.c build problems
Date: Thu, 16 Apr 2009 10:32:20 +0100 [thread overview]
Message-ID: <1239874343-7280-2-git-send-email-ben-linux@fluff.org> (raw)
In-Reply-To: <1239874343-7280-1-git-send-email-ben-linux@fluff.org>
Fix build errors in sound/soc/s3c24xx/jive_wm8750.c
from changes to ASoC.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
---
sound/soc/s3c24xx/jive_wm8750.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sound/soc/s3c24xx/jive_wm8750.c b/sound/soc/s3c24xx/jive_wm8750.c
index 3206379..93e6c87 100644
--- a/sound/soc/s3c24xx/jive_wm8750.c
+++ b/sound/soc/s3c24xx/jive_wm8750.c
@@ -69,8 +69,8 @@ static int jive_hw_params(struct snd_pcm_substream *substream,
break;
}
- s3c_i2sv2_calc_rate(&div, NULL, params_rate(params),
- s3c2412_get_iisclk());
+ s3c_i2sv2_iis_calc_rate(&div, NULL, params_rate(params),
+ s3c2412_get_iisclk());
/* set codec DAI configuration */
ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
@@ -145,8 +145,9 @@ static struct snd_soc_dai_link jive_dai = {
};
/* jive audio machine driver */
-static struct snd_soc_machine snd_soc_machine_jive = {
+static struct snd_soc_card snd_soc_machine_jive = {
.name = "Jive",
+ .platform = &s3c24xx_soc_platform,
.dai_link = &jive_dai,
.num_links = 1,
};
@@ -157,9 +158,8 @@ static struct wm8750_setup_data jive_wm8750_setup = {
/* jive audio subsystem */
static struct snd_soc_device jive_snd_devdata = {
- .machine = &snd_soc_machine_jive,
- .platform = &s3c24xx_soc_platform,
- .codec_dev = &soc_codec_dev_wm8750_spi,
+ .card = &snd_soc_machine_jive,
+ .codec_dev = &soc_codec_dev_wm8750,
.codec_data = &jive_wm8750_setup,
};
--
1.5.6.5
next prev parent reply other threads:[~2009-04-16 9:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-16 9:32 ASoC fixes for 2.6.30-rc for s3c24xx Ben Dooks
2009-04-16 9:32 ` Ben Dooks [this message]
2009-04-16 9:32 ` [PATCH] ASoC: Fix include build error in s3c2412-i2s.c Ben Dooks
2009-04-16 9:32 ` [PATCH] ASoC: Fix s3c-i2s-v2.c snd_soc_dai changes Ben Dooks
2009-04-16 9:32 ` [PATCH] ASoC: s3c-i2s-v2.c fix for s3c_i2sv2_iis_calc_rate Ben Dooks
2009-04-16 9:57 ` Mark Brown
2009-04-16 9:58 ` [PATCH] ASoC: Fix s3c-i2s-v2.c snd_soc_dai changes Mark Brown
2009-04-16 9:58 ` [PATCH] ASoC: Fix include build error in s3c2412-i2s.c Mark Brown
2009-04-16 9:56 ` [PATCH] ASoC: Fix jive_wm8750.c build problems Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239874343-7280-2-git-send-email-ben-linux@fluff.org \
--to=ben-linux@fluff.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.