Hallo

* Niemeyer <[email protected]> [05-03-09 14:40]:
> * rmmod snd_soc_neo1973_wm8753 does segfault (see last mail)
> * cat /proc/asound/cards shows no sound card
I finaly got these to work! ;-)
Patch attached!

Regards
Tim Niemeyer
From 03e708a616be7ab7b87d1e3d08778a77abece2f0 Mon Sep 17 00:00:00 2001
From: Tim Niemeyer <[email protected]>
Date: Sat, 14 Mar 2009 03:28:13 +0100
Subject: [PATCH] new-style i2c driver doesn't work with inconsistent names.

Signed-off-by: Tim Niemeyer <[email protected]>
---
 sound/soc/s3c24xx/neo1973_wm8753.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c
index 4efa350..2970305 100644
--- a/sound/soc/s3c24xx/neo1973_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_wm8753.c
@@ -646,13 +646,13 @@ static void lm4857_shutdown(struct i2c_client *dev)
 }
 
 static const struct i2c_device_id lm4857_i2c_id[] = {
-	{ "neo1973_lm4857", 0 },
+	{ "lm4857", 0 },
 	{ }
 };
 
 static struct i2c_driver lm4857_i2c_driver = {
 	.driver = {
-		.name = "LM4857 I2C Amp",
+		.name = "lm4857",
 		.owner = THIS_MODULE,
 	},
 	.suspend =        lm4857_suspend,
-- 
1.5.6.5

Attachment: signature.asc
Description: Digital signature

Reply via email to