aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/via82xx_modem.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-10-20 12:26:44 -0400
committerJaroslav Kysela <perex@suse.cz>2005-11-04 07:19:23 -0500
commit99b359ba10a582148c6725f428a33ba5356dd993 (patch)
tree15927b52d1b02830a9197bea7806545ffef0749f /sound/pci/via82xx_modem.c
parent8a3fb4d0ce5cc37a765d59b65a3b3714e5806dc9 (diff)
[ALSA] Add missing KERN_* suffix to printk
Add missing KERN_* suffix to printk. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/via82xx_modem.c')
-rw-r--r--sound/pci/via82xx_modem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/via82xx_modem.c b/sound/pci/via82xx_modem.c
index ff56eb8552e6..bc7330ace96a 100644
--- a/sound/pci/via82xx_modem.c
+++ b/sound/pci/via82xx_modem.c
@@ -570,7 +570,7 @@ static inline unsigned int calc_linear_pos(viadev_t *viadev, unsigned int idx, u
570 res = viadev->lastpos; 570 res = viadev->lastpos;
571 } else if (check_invalid_pos(viadev, res)) { 571 } else if (check_invalid_pos(viadev, res)) {
572#ifdef POINTER_DEBUG 572#ifdef POINTER_DEBUG
573 printk("fail: idx = %i/%i, lastpos = 0x%x, bufsize2 = 0x%x, offsize = 0x%x, size = 0x%x, count = 0x%x\n", idx, viadev->tbl_entries, viadev->lastpos, viadev->bufsize2, viadev->idx_table[idx].offset, viadev->idx_table[idx].size, count); 573 printk(KERN_DEBUG "fail: idx = %i/%i, lastpos = 0x%x, bufsize2 = 0x%x, offsize = 0x%x, size = 0x%x, count = 0x%x\n", idx, viadev->tbl_entries, viadev->lastpos, viadev->bufsize2, viadev->idx_table[idx].offset, viadev->idx_table[idx].size, count);
574#endif 574#endif
575 if (count && size < count) { 575 if (count && size < count) {
576 snd_printd(KERN_ERR "invalid via82xx_cur_ptr, using last valid pointer\n"); 576 snd_printd(KERN_ERR "invalid via82xx_cur_ptr, using last valid pointer\n");
@@ -973,7 +973,7 @@ static int snd_via82xx_chip_init(via82xx_t *chip)
973 } while (time_before(jiffies, end_time)); 973 } while (time_before(jiffies, end_time));
974 974
975 if ((val = snd_via82xx_codec_xread(chip)) & VIA_REG_AC97_BUSY) 975 if ((val = snd_via82xx_codec_xread(chip)) & VIA_REG_AC97_BUSY)
976 snd_printk("AC'97 codec is not ready [0x%x]\n", val); 976 snd_printk(KERN_ERR "AC'97 codec is not ready [0x%x]\n", val);
977 977
978 snd_via82xx_codec_xwrite(chip, VIA_REG_AC97_READ | 978 snd_via82xx_codec_xwrite(chip, VIA_REG_AC97_READ |
979 VIA_REG_AC97_SECONDARY_VALID | 979 VIA_REG_AC97_SECONDARY_VALID |
@@ -1102,7 +1102,7 @@ static int __devinit snd_via82xx_create(snd_card_t * card,
1102 chip->port = pci_resource_start(pci, 0); 1102 chip->port = pci_resource_start(pci, 0);
1103 if (request_irq(pci->irq, snd_via82xx_interrupt, SA_INTERRUPT|SA_SHIRQ, 1103 if (request_irq(pci->irq, snd_via82xx_interrupt, SA_INTERRUPT|SA_SHIRQ,
1104 card->driver, (void *)chip)) { 1104 card->driver, (void *)chip)) {
1105 snd_printk("unable to grab IRQ %d\n", pci->irq); 1105 snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq);
1106 snd_via82xx_free(chip); 1106 snd_via82xx_free(chip);
1107 return -EBUSY; 1107 return -EBUSY;
1108 } 1108 }