Skip to contentSkip to conversation

ASoC: Use correct include file for gpiolib in N810 machine driver

PATCH In review Jarkko Nikula 2 participants 5 messages Jun 11, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ASoC: Use correct include file for gpiolib in N810 machine driver

---
 sound/soc/omap/n810.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/omap/n810.c +1 -1
index 2d982b1..c32487b 100644
@@ -30,7 +30,7 @@
 
 #include <asm/mach-types.h>
 #include <asm/arch/hardware.h>
-#include <asm/gpio.h>
+#include <linux/gpio.h>
 #include <asm/arch/mcbsp.h>
 
 #include "omap-mcbsp.h"
Signature · 1 line
1.5.5.3
#1 lore raw

PATCH 2/2 ASoC: Cover also Nokia N810 WiMAX Edition in N810 machine driver

---
 sound/soc/omap/n810.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/omap/n810.c +1 -1
index c32487b..c168a64 100644
@@ -265,7 +265,7 @@ static int __init n810_soc_init(void)
 	int err;
 	struct device *dev;
 
-	if (!machine_is_nokia_n810())
+	if (!(machine_is_nokia_n810() || machine_is_nokia_n810_wimax()))
 		return -ENODEV;
 
 	n810_snd_device = platform_device_alloc("soc-audio", -1);
Signature · 1 line
1.5.5.3
#2 lore raw
In reply to Jarkko Nikula

sound/soc/omap/n810.c line 33

Quoted 3 lines · Jarkko Nikula

#include <asm/arch/hardware.h>

sound/soc/omap/n810.c +1 -1
-#include <asm/gpio.h>
+#include <linux/gpio.h>

This appears to already be done that way in ALSA git?

#3 lore raw
Quoted 8 lines · On Wed, 11 Jun 2008 13:11:50 +0100 "ext Mark Brown"…

sound/soc/omap/n810.c line 33

Quoted 3 lines · Jarkko Nikula

#include <asm/arch/hardware.h>

sound/soc/omap/n810.c +1 -1
-#include <asm/gpio.h>
+#include <linux/gpio.h>

This appears to already be done that way in ALSA git?

Ah, it seems that my first version of gpiolib conversion patch went into asoc-dev and Takashi took the second correct one.

http://mailman.alsa-project.org/pipermail/alsa-devel/2008-May/007829.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-May/007842.html

Probably this is worth to apply into asoc-dev in order to avoid merge conflict but not queue this back?

Jarkko

#4 lore raw
Quoted 2 lines · Jarkko Nikula

Probably this is worth to apply into asoc-dev in order to avoid merge conflict but not queue this back?

I've already fixed this in the dev branch and queued your other fix with a batch of other stuff I'm about to mail out.