Skip to contentSkip to conversation

ppc32: Small build fix for alsa powermac

PATCH Applied Benjamin Herrenschmidt 2 participants 2 messages May 2, 2005 – May 12, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc32: Small build fix for alsa powermac

Hi !

My newer iMac mini driver doesn't build with verbose debug enabled. This fixes it, and removes an erroneous error printk (since it's normal on some machine to not find some gpios on the "first try").

sound/ppc/toonie.c +1 -2
Index: linux-work/sound/ppc/toonie.c
===================================================================
@@ -279,8 +279,7 @@
 	if (! base) {
 		base = (u32 *)get_property(np, "reg", NULL);
 		if (!base) {
-			DBG("(E) cannot find address for device %s !\n", device);
-			snd_printd("cannot find address for device %s\n", device);
+			DBG("(E) cannot find address for device %s !\n", name);
 			return -ENODEV;
 		}
 		addr = *base;

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

Applied
#1 lore raw

Hi Ben,

At Mon, 02 May 2005 11:40:30 +1000,

Quoted 8 lines · Benjamin Herrenschmidt

Hi !

My newer iMac mini driver doesn't build with verbose debug enabled. This fixes it, and removes an erroneous error printk (since it's normal on some machine to not find some gpios on the "first try").

Applied to ALSA tree now. Thanks!

Takashi