mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
[ALSA] ad1848 - Fix print format
Fixed the print format for debug message. Spotted by Matthew Wilcox. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
3f03f7c586
commit
27ed7ceda5
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ static void snd_ad1848_mce_down(struct snd_ad1848 *chip)
|
||||||
for (timeout = 12000; timeout > 0 && (inb(AD1848P(chip, REGSEL)) & AD1848_INIT); timeout--)
|
for (timeout = 12000; timeout > 0 && (inb(AD1848P(chip, REGSEL)) & AD1848_INIT); timeout--)
|
||||||
udelay(100);
|
udelay(100);
|
||||||
|
|
||||||
snd_printdd("(1) timeout = %d\n", timeout);
|
snd_printdd("(1) timeout = %ld\n", timeout);
|
||||||
|
|
||||||
#ifdef CONFIG_SND_DEBUG
|
#ifdef CONFIG_SND_DEBUG
|
||||||
if (inb(AD1848P(chip, REGSEL)) & AD1848_INIT)
|
if (inb(AD1848P(chip, REGSEL)) & AD1848_INIT)
|
||||||
|
|
Loading…
Reference in a new issue