Commit f1b1f75e authored by Risto Suominen's avatar Risto Suominen Committed by Takashi Iwai

ALSA: powermac - Add debug log

Add some debug log in tumbler.c.
Signed-off-by: default avatarRisto Suominen <Risto.Suominen@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b6d73350
...@@ -246,6 +246,7 @@ static int tumbler_set_master_volume(struct pmac_tumbler *mix) ...@@ -246,6 +246,7 @@ static int tumbler_set_master_volume(struct pmac_tumbler *mix)
snd_printk(KERN_ERR "failed to set volume \n"); snd_printk(KERN_ERR "failed to set volume \n");
return -EINVAL; return -EINVAL;
} }
DBG("(I) succeeded to set volume (%u, %u)\n", left_vol, right_vol);
return 0; return 0;
} }
...@@ -356,6 +357,7 @@ static int tumbler_set_drc(struct pmac_tumbler *mix) ...@@ -356,6 +357,7 @@ static int tumbler_set_drc(struct pmac_tumbler *mix)
snd_printk(KERN_ERR "failed to set DRC\n"); snd_printk(KERN_ERR "failed to set DRC\n");
return -EINVAL; return -EINVAL;
} }
DBG("(I) succeeded to set DRC (%u, %u)\n", val[0], val[1]);
return 0; return 0;
} }
...@@ -392,6 +394,7 @@ static int snapper_set_drc(struct pmac_tumbler *mix) ...@@ -392,6 +394,7 @@ static int snapper_set_drc(struct pmac_tumbler *mix)
snd_printk(KERN_ERR "failed to set DRC\n"); snd_printk(KERN_ERR "failed to set DRC\n");
return -EINVAL; return -EINVAL;
} }
DBG("(I) succeeded to set DRC (%u, %u)\n", val[0], val[1]);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment