]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ALSA: powermac - Add debug log
authorRisto Suominen <Risto.Suominen@gmail.com>
Sun, 4 Apr 2010 05:00:29 +0000 (08:00 +0300)
committerTakashi Iwai <tiwai@suse.de>
Sun, 4 Apr 2010 10:26:34 +0000 (12:26 +0200)
Add some debug log in tumbler.c.

Signed-off-by: Risto Suominen <Risto.Suominen@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ppc/tumbler.c

index 696280c3c05a5b9c0b298231a9a3199e3dc1a204..0b69e96f0d1983e50c94cb417897495a2517072a 100644 (file)
@@ -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;
 }