Skip to content

Commit

Permalink
[PATCH] ppc32: Small build fix for alsa powermac
Browse files Browse the repository at this point in the history
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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed May 2, 2005
1 parent 15fd568 commit 7eb8073
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sound/ppc/toonie.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ static int find_audio_gpio(const char *name, const char *platform,
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;
Expand Down

0 comments on commit 7eb8073

Please sign in to comment.