aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-05-12 03:14:51 -0400
committerThomas Gleixner <tglx@linutronix.de>2015-05-12 03:14:51 -0400
commitc78c881824cc3354c0518c0d21febe04ffc69638 (patch)
tree240ed726df750ba3f381f95ed7e61e4cf9d01e80
parent6b442bc81337913eb775965a67ffdb8a36935422 (diff)
ALSA: drivers: pcsp: Fix printout of resolution
The recent conversion of the hrtimer resolution failed to convert the printk format from %li to %u. Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--sound/drivers/pcsp/pcsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/drivers/pcsp/pcsp.c b/sound/drivers/pcsp/pcsp.c
index eb54702037cc..27e25bb78c97 100644
--- a/sound/drivers/pcsp/pcsp.c
+++ b/sound/drivers/pcsp/pcsp.c
@@ -48,7 +48,7 @@ static int snd_pcsp_create(struct snd_card *card)
48 if (!nopcm) { 48 if (!nopcm) {
49 if (resolution > PCSP_MAX_PERIOD_NS) { 49 if (resolution > PCSP_MAX_PERIOD_NS) {
50 printk(KERN_ERR "PCSP: Timer resolution is not sufficient " 50 printk(KERN_ERR "PCSP: Timer resolution is not sufficient "
51 "(%linS)\n", resolution); 51 "(%unS)\n", resolution);
52 printk(KERN_ERR "PCSP: Make sure you have HPET and ACPI " 52 printk(KERN_ERR "PCSP: Make sure you have HPET and ACPI "
53 "enabled.\n"); 53 "enabled.\n");
54 printk(KERN_ERR "PCSP: Turned into nopcm mode.\n"); 54 printk(KERN_ERR "PCSP: Turned into nopcm mode.\n");
@@ -61,7 +61,7 @@ static int snd_pcsp_create(struct snd_card *card)
61 else 61 else
62 min_div = MAX_DIV; 62 min_div = MAX_DIV;
63#if PCSP_DEBUG 63#if PCSP_DEBUG
64 printk(KERN_DEBUG "PCSP: lpj=%li, min_div=%i, res=%li\n", 64 printk(KERN_DEBUG "PCSP: lpj=%li, min_div=%i, res=%u\n",
65 loops_per_jiffy, min_div, resolution); 65 loops_per_jiffy, min_div, resolution);
66#endif 66#endif
67 67