Skip to content

Commit 2ebfb8e

Browse files
committed
ALSA: Add missing KERN_* prefix to printk in other sound/*
Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent ee41965 commit 2ebfb8e

5 files changed

Lines changed: 22 additions & 14 deletions

File tree

‎sound/arm/sa11xx-uda1341.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ static int __devinit sa11xx_uda1341_probe(struct platform_device *devptr)
914914
snd_card_set_dev(card, &devptr->dev);
915915

916916
if ((err = snd_card_register(card)) == 0) {
917-
printk( KERN_INFO "iPAQ audio support initialized\n" );
917+
printk(KERN_INFO "iPAQ audio support initialized\n");
918918
platform_set_drvdata(devptr, card);
919919
return 0;
920920
}

‎sound/mips/au1x00.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ au1000_init(void)
678678
return err;
679679
}
680680

681-
printk( KERN_INFO "ALSA AC97: Driver Initialized\n" );
681+
printk(KERN_INFO "ALSA AC97: Driver Initialized\n");
682682
au1000_card = card;
683683
return 0;
684684
}

‎sound/pcmcia/pdaudiocf/pdaudiocf_core.c‎

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,21 @@ static void pdacf_ak4117_write(void *private_data, unsigned char reg, unsigned c
8282
#if 0
8383
void pdacf_dump(struct snd_pdacf *chip)
8484
{
85-
printk("PDAUDIOCF DUMP (0x%lx):\n", chip->port);
86-
printk("WPD : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_WDP));
87-
printk("RDP : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_RDP));
88-
printk("TCR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_TCR));
89-
printk("SCR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_SCR));
90-
printk("ISR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_ISR));
91-
printk("IER : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_IER));
92-
printk("AK_IFR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_AK_IFR));
85+
printk(KERN_DEBUG "PDAUDIOCF DUMP (0x%lx):\n", chip->port);
86+
printk(KERN_DEBUG "WPD : 0x%x\n",
87+
inw(chip->port + PDAUDIOCF_REG_WDP));
88+
printk(KERN_DEBUG "RDP : 0x%x\n",
89+
inw(chip->port + PDAUDIOCF_REG_RDP));
90+
printk(KERN_DEBUG "TCR : 0x%x\n",
91+
inw(chip->port + PDAUDIOCF_REG_TCR));
92+
printk(KERN_DEBUG "SCR : 0x%x\n",
93+
inw(chip->port + PDAUDIOCF_REG_SCR));
94+
printk(KERN_DEBUG "ISR : 0x%x\n",
95+
inw(chip->port + PDAUDIOCF_REG_ISR));
96+
printk(KERN_DEBUG "IER : 0x%x\n",
97+
inw(chip->port + PDAUDIOCF_REG_IER));
98+
printk(KERN_DEBUG "AK_IFR : 0x%x\n",
99+
inw(chip->port + PDAUDIOCF_REG_AK_IFR));
93100
}
94101
#endif
95102

‎sound/pcmcia/pdaudiocf/pdaudiocf_irq.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void pdacf_tasklet(unsigned long private_data)
269269

270270
rdp = inw(chip->port + PDAUDIOCF_REG_RDP);
271271
wdp = inw(chip->port + PDAUDIOCF_REG_WDP);
272-
// printk("TASKLET: rdp = %x, wdp = %x\n", rdp, wdp);
272+
/* printk(KERN_DEBUG "TASKLET: rdp = %x, wdp = %x\n", rdp, wdp); */
273273
size = wdp - rdp;
274274
if (size < 0)
275275
size += 0x10000;
@@ -321,5 +321,5 @@ void pdacf_tasklet(unsigned long private_data)
321321
spin_lock(&chip->reg_lock);
322322
}
323323
spin_unlock(&chip->reg_lock);
324-
// printk("TASKLET: end\n");
324+
/* printk(KERN_DEBUG "TASKLET: end\n"); */
325325
}

‎sound/sparc/amd7930.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,15 +954,16 @@ static int __devinit snd_amd7930_create(struct snd_card *card,
954954
amd->regs = of_ioremap(&op->resource[0], 0,
955955
resource_size(&op->resource[0]), "amd7930");
956956
if (!amd->regs) {
957-
snd_printk("amd7930-%d: Unable to map chip registers.\n", dev);
957+
snd_printk(KERN_ERR
958+
"amd7930-%d: Unable to map chip registers.\n", dev);
958959
return -EIO;
959960
}
960961

961962
amd7930_idle(amd);
962963

963964
if (request_irq(irq, snd_amd7930_interrupt,
964965
IRQF_DISABLED | IRQF_SHARED, "amd7930", amd)) {
965-
snd_printk("amd7930-%d: Unable to grab IRQ %d\n",
966+
snd_printk(KERN_ERR "amd7930-%d: Unable to grab IRQ %d\n",
966967
dev, irq);
967968
snd_amd7930_free(amd);
968969
return -EBUSY;

0 commit comments

Comments
 (0)