mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 23:54:26 +08:00
ALSA: Add missing KERN_* prefix to printk in other sound/*
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ee419653a3
commit
2ebfb8eeb8
@ -82,14 +82,21 @@ static void pdacf_ak4117_write(void *private_data, unsigned char reg, unsigned c
|
||||
#if 0
|
||||
void pdacf_dump(struct snd_pdacf *chip)
|
||||
{
|
||||
printk("PDAUDIOCF DUMP (0x%lx):\n", chip->port);
|
||||
printk("WPD : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_WDP));
|
||||
printk("RDP : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_RDP));
|
||||
printk("TCR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_TCR));
|
||||
printk("SCR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_SCR));
|
||||
printk("ISR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_ISR));
|
||||
printk("IER : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_IER));
|
||||
printk("AK_IFR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_AK_IFR));
|
||||
printk(KERN_DEBUG "PDAUDIOCF DUMP (0x%lx):\n", chip->port);
|
||||
printk(KERN_DEBUG "WPD : 0x%x\n",
|
||||
inw(chip->port + PDAUDIOCF_REG_WDP));
|
||||
printk(KERN_DEBUG "RDP : 0x%x\n",
|
||||
inw(chip->port + PDAUDIOCF_REG_RDP));
|
||||
printk(KERN_DEBUG "TCR : 0x%x\n",
|
||||
inw(chip->port + PDAUDIOCF_REG_TCR));
|
||||
printk(KERN_DEBUG "SCR : 0x%x\n",
|
||||
inw(chip->port + PDAUDIOCF_REG_SCR));
|
||||
printk(KERN_DEBUG "ISR : 0x%x\n",
|
||||
inw(chip->port + PDAUDIOCF_REG_ISR));
|
||||
printk(KERN_DEBUG "IER : 0x%x\n",
|
||||
inw(chip->port + PDAUDIOCF_REG_IER));
|
||||
printk(KERN_DEBUG "AK_IFR : 0x%x\n",
|
||||
inw(chip->port + PDAUDIOCF_REG_AK_IFR));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -269,7 +269,7 @@ void pdacf_tasklet(unsigned long private_data)
|
||||
|
||||
rdp = inw(chip->port + PDAUDIOCF_REG_RDP);
|
||||
wdp = inw(chip->port + PDAUDIOCF_REG_WDP);
|
||||
// printk("TASKLET: rdp = %x, wdp = %x\n", rdp, wdp);
|
||||
/* printk(KERN_DEBUG "TASKLET: rdp = %x, wdp = %x\n", rdp, wdp); */
|
||||
size = wdp - rdp;
|
||||
if (size < 0)
|
||||
size += 0x10000;
|
||||
@ -321,5 +321,5 @@ void pdacf_tasklet(unsigned long private_data)
|
||||
spin_lock(&chip->reg_lock);
|
||||
}
|
||||
spin_unlock(&chip->reg_lock);
|
||||
// printk("TASKLET: end\n");
|
||||
/* printk(KERN_DEBUG "TASKLET: end\n"); */
|
||||
}
|
||||
|
@ -954,7 +954,8 @@ static int __devinit snd_amd7930_create(struct snd_card *card,
|
||||
amd->regs = of_ioremap(&op->resource[0], 0,
|
||||
resource_size(&op->resource[0]), "amd7930");
|
||||
if (!amd->regs) {
|
||||
snd_printk("amd7930-%d: Unable to map chip registers.\n", dev);
|
||||
snd_printk(KERN_ERR
|
||||
"amd7930-%d: Unable to map chip registers.\n", dev);
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
@ -962,7 +963,7 @@ static int __devinit snd_amd7930_create(struct snd_card *card,
|
||||
|
||||
if (request_irq(irq, snd_amd7930_interrupt,
|
||||
IRQF_DISABLED | IRQF_SHARED, "amd7930", amd)) {
|
||||
snd_printk("amd7930-%d: Unable to grab IRQ %d\n",
|
||||
snd_printk(KERN_ERR "amd7930-%d: Unable to grab IRQ %d\n",
|
||||
dev, irq);
|
||||
snd_amd7930_free(amd);
|
||||
return -EBUSY;
|
||||
|
Loading…
Reference in New Issue
Block a user