summaryrefslogtreecommitdiffstats
path: root/sound/ppc
diff options
context:
space:
mode:
authorRisto Suominen <Risto.Suominen@gmail.com>2010-04-04 08:00:29 +0300
committerTakashi Iwai <tiwai@suse.de>2010-04-04 12:26:34 +0200
commitf1b1f75e251049281cfe3d3b82d403fc2dc1e235 (patch)
treef79dc4618ba13dde677a7b6c33417fa941b938e1 /sound/ppc
parentb6d7335001f331f2d295ff15d67e385615ceff81 (diff)
downloadlinux-f1b1f75e251049281cfe3d3b82d403fc2dc1e235.tar.gz
linux-f1b1f75e251049281cfe3d3b82d403fc2dc1e235.tar.bz2
linux-f1b1f75e251049281cfe3d3b82d403fc2dc1e235.zip
ALSA: powermac - Add debug log
Add some debug log in tumbler.c. Signed-off-by: Risto Suominen <Risto.Suominen@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc')
-rw-r--r--sound/ppc/tumbler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c
index 696280c3c05a..0b69e96f0d19 100644
--- a/sound/ppc/tumbler.c
+++ b/sound/ppc/tumbler.c
@@ -246,6 +246,7 @@ static int tumbler_set_master_volume(struct pmac_tumbler *mix)
snd_printk(KERN_ERR "failed to set volume \n");
return -EINVAL;
}
+ DBG("(I) succeeded to set volume (%u, %u)\n", left_vol, right_vol);
return 0;
}
@@ -356,6 +357,7 @@ static int tumbler_set_drc(struct pmac_tumbler *mix)
snd_printk(KERN_ERR "failed to set DRC\n");
return -EINVAL;
}
+ DBG("(I) succeeded to set DRC (%u, %u)\n", val[0], val[1]);
return 0;
}
@@ -392,6 +394,7 @@ static int snapper_set_drc(struct pmac_tumbler *mix)
snd_printk(KERN_ERR "failed to set DRC\n");
return -EINVAL;
}
+ DBG("(I) succeeded to set DRC (%u, %u)\n", val[0], val[1]);
return 0;
}