diff mbox

ASoC: Replace snd_soc_machine by snd_soc_card structure in SDP3430 machine driver

Message ID 2C7D3DF36ADFFC479B44490D912B616705D6175398@dlee07.ent.ti.com
State Awaiting Upstream, archived
Headers show

Commit Message

Lopez Cruz, Misael Feb. 9, 2009, 11:57 p.m. UTC
This patch replaces "snd_soc_machine" structure by "snd_soc_card" in
SP3430 driver. This change is needed in SDP3430 driver to reflect
changes introduced by "ASoC: Rename snd_soc_card to snd_soc_machine" patch
(875065491fba8eb13219f16c36e79a6fb4e15c68).

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
---
 sound/soc/omap/sdp3430.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Jarkko Nikula Feb. 10, 2009, 7:51 a.m. UTC | #1
On Tue, 10 Feb 2009 00:57:00 +0100
"ext Lopez Cruz, Misael" <x0052729@ti.com> wrote:

> This patch replaces "snd_soc_machine" structure by "snd_soc_card" in
> SP3430 driver. This change is needed in SDP3430 driver to reflect
> changes introduced by "ASoC: Rename snd_soc_card to snd_soc_machine"
> patch (875065491fba8eb13219f16c36e79a6fb4e15c68).
> 
> Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
> ---
>  sound/soc/omap/sdp3430.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
Looks like you haven't subscribed to alsa-devel since I don't see your
patch there? You can subscribe but have mail delivery disabled if you
don't want to get mailing list traffic to your account.

Patch itself looks like for 2.6.29-rc since it fixes a compilation
error. Ack from me, compile tested on linux-omap.

Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Lopez Cruz, Misael Feb. 10, 2009, 7:57 a.m. UTC | #2
> On Tue, 10 Feb 2009 00:57:00 +0100
> "ext Lopez Cruz, Misael" <x0052729@ti.com> wrote:
> 
> > This patch replaces "snd_soc_machine" structure by "snd_soc_card" in 
> > SP3430 driver. This change is needed in SDP3430 driver to reflect 
> > changes introduced by "ASoC: Rename snd_soc_card to snd_soc_machine"
> > patch (875065491fba8eb13219f16c36e79a6fb4e15c68).
> > 
> > Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
> > ---
> >  sound/soc/omap/sdp3430.c |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> Looks like you haven't subscribed to alsa-devel since I don't 
> see your patch there? You can subscribe but have mail 
> delivery disabled if you don't want to get mailing list 
> traffic to your account.

I'm sorry I used 'alsa-devel-request' instead of 'alsa-devel'. I'll resend the patch right away.

> Patch itself looks like for 2.6.29-rc since it fixes a 
> compilation error. Ack from me, compile tested on linux-omap.
> 
> Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/sound/soc/omap/sdp3430.c b/sound/soc/omap/sdp3430.c
index ad97836..e226fa7 100644
--- a/sound/soc/omap/sdp3430.c
+++ b/sound/soc/omap/sdp3430.c
@@ -91,7 +91,7 @@  static struct snd_soc_dai_link sdp3430_dai = {
 };
 
 /* Audio machine driver */
-static struct snd_soc_machine snd_soc_machine_sdp3430 = {
+static struct snd_soc_card snd_soc_sdp3430 = {
 	.name = "SDP3430",
 	.platform = &omap_soc_platform,
 	.dai_link = &sdp3430_dai,
@@ -100,7 +100,7 @@  static struct snd_soc_machine snd_soc_machine_sdp3430 = {
 
 /* Audio subsystem */
 static struct snd_soc_device sdp3430_snd_devdata = {
-	.machine = &snd_soc_machine_sdp3430,
+	.card = &snd_soc_sdp3430,
 	.codec_dev = &soc_codec_dev_twl4030,
 };