summaryrefslogtreecommitdiffstats
path: root/sound/drivers/pcsp/pcsp_mixer.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-15 15:38:20 +0200
committerTakashi Iwai <tiwai@suse.de>2009-05-15 15:38:20 +0200
commita3d2b755c0e8f301c079d8aa5a761622259400fe (patch)
tree5c26f7617ac49addcdc65e27f97f218495ac6b3e /sound/drivers/pcsp/pcsp_mixer.c
parentbbb2b6829d2afa4cfc58f7c321b2c3aaa7f4835e (diff)
parent5a641bcd6398841cc4606b0a732d41a09256fd94 (diff)
Merge branch 'fix/misc' into for-linus
* fix/misc: ALSA: pcsp: fix printk format warning ALSA: riptide: postfix increment and off by one
Diffstat (limited to 'sound/drivers/pcsp/pcsp_mixer.c')
-rw-r--r--sound/drivers/pcsp/pcsp_mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/pcsp/pcsp_mixer.c b/sound/drivers/pcsp/pcsp_mixer.c
index caeb0f57fcc..771955a9be7 100644
--- a/sound/drivers/pcsp/pcsp_mixer.c
+++ b/sound/drivers/pcsp/pcsp_mixer.c
@@ -50,7 +50,7 @@ static int pcsp_treble_info(struct snd_kcontrol *kcontrol,
uinfo->value.enumerated.items = chip->max_treble + 1;
if (uinfo->value.enumerated.item > chip->max_treble)
uinfo->value.enumerated.item = chip->max_treble;
- sprintf(uinfo->value.enumerated.name, "%d",
+ sprintf(uinfo->value.enumerated.name, "%lu",
PCSP_CALC_RATE(uinfo->value.enumerated.item));
return 0;
}