Robert Jarzmik | 30 Jun 2012 19:25
Picon
Favicon

[PATCH] mioa701 convert to snd_soc_register_card API

The mioa701 board code is converted to the snd_soc_register_card()
and snd_soc_unregister_card() APIs.

Signed-off-by: Robert Jarzmik <robert.jarzmik <at> free.fr>
---
 sound/soc/pxa/mioa701_wm9713.c |   33 ++++++++++++---------------------
 1 file changed, 12 insertions(+), 21 deletions(-)

diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c
index 9c585af..8687c1c 100644
--- a/sound/soc/pxa/mioa701_wm9713.c
+++ b/sound/soc/pxa/mioa701_wm9713.c
 <at>  <at>  -186,36 +186,27  <at>  <at>  static struct snd_soc_card mioa701 = {
 	.num_links = ARRAY_SIZE(mioa701_dai),
 };

-static struct platform_device *mioa701_snd_device;
-
-static int mioa701_wm9713_probe(struct platform_device *pdev)
+static int __devinit mioa701_wm9713_probe(struct platform_device *pdev)
 {
-	int ret;
+	int rc;

 	if (!machine_is_mioa701())
 		return -ENODEV;

-	dev_warn(&pdev->dev, "Be warned that incorrect mixers/muxes setup will"
-		 "lead to overheating and possible destruction of your device."
-		 "Do not use without a good knowledge of mio's board design!\n");
(Continue reading)

Mark Brown | 1 Jul 2012 20:33
Favicon
Gravatar

Re: [PATCH] mioa701 convert to snd_soc_register_card API

On Sat, Jun 30, 2012 at 07:25:08PM +0200, Robert Jarzmik wrote:
> The mioa701 board code is converted to the snd_soc_register_card()
> and snd_soc_unregister_card() APIs.

Applied, thanks, but please do try to use subject lines appropriate for
the subsystem you're submitting against.
On Sat, Jun 30, 2012 at 07:25:08PM +0200, Robert Jarzmik wrote:
> The mioa701 board code is converted to the snd_soc_register_card()
> and snd_soc_unregister_card() APIs.

Applied, thanks, but please do try to use subject lines appropriate for
the subsystem you're submitting against.

Gmane