Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7eb8073e authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Linus Torvalds
Browse files

[PATCH] ppc32: Small build fix for alsa powermac



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").

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 15fd5686
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -279,8 +279,7 @@ static int find_audio_gpio(const char *name, const char *platform,
	if (! base) {
	if (! base) {
		base = (u32 *)get_property(np, "reg", NULL);
		base = (u32 *)get_property(np, "reg", NULL);
		if (!base) {
		if (!base) {
			DBG("(E) cannot find address for device %s !\n", device);
			DBG("(E) cannot find address for device %s !\n", name);
			snd_printd("cannot find address for device %s\n", device);
			return -ENODEV;
			return -ENODEV;
		}
		}
		addr = *base;
		addr = *base;