diff options
author | Risto Suominen <Risto.Suominen@gmail.com> | 2010-04-04 01:00:29 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-04-04 06:26:34 -0400 |
commit | f1b1f75e251049281cfe3d3b82d403fc2dc1e235 (patch) | |
tree | f79dc4618ba13dde677a7b6c33417fa941b938e1 | |
parent | b6d7335001f331f2d295ff15d67e385615ceff81 (diff) |
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>
-rw-r--r-- | sound/ppc/tumbler.c | 3 |
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) | |||
246 | snd_printk(KERN_ERR "failed to set volume \n"); | 246 | snd_printk(KERN_ERR "failed to set volume \n"); |
247 | return -EINVAL; | 247 | return -EINVAL; |
248 | } | 248 | } |
249 | DBG("(I) succeeded to set volume (%u, %u)\n", left_vol, right_vol); | ||
249 | return 0; | 250 | return 0; |
250 | } | 251 | } |
251 | 252 | ||
@@ -356,6 +357,7 @@ static int tumbler_set_drc(struct pmac_tumbler *mix) | |||
356 | snd_printk(KERN_ERR "failed to set DRC\n"); | 357 | snd_printk(KERN_ERR "failed to set DRC\n"); |
357 | return -EINVAL; | 358 | return -EINVAL; |
358 | } | 359 | } |
360 | DBG("(I) succeeded to set DRC (%u, %u)\n", val[0], val[1]); | ||
359 | return 0; | 361 | return 0; |
360 | } | 362 | } |
361 | 363 | ||
@@ -392,6 +394,7 @@ static int snapper_set_drc(struct pmac_tumbler *mix) | |||
392 | snd_printk(KERN_ERR "failed to set DRC\n"); | 394 | snd_printk(KERN_ERR "failed to set DRC\n"); |
393 | return -EINVAL; | 395 | return -EINVAL; |
394 | } | 396 | } |
397 | DBG("(I) succeeded to set DRC (%u, %u)\n", val[0], val[1]); | ||
395 | return 0; | 398 | return 0; |
396 | } | 399 | } |
397 | 400 | ||