diff options
Diffstat (limited to 'sound/pci/azt3328.c')
-rw-r--r-- | sound/pci/azt3328.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index dc638f395c02..8260079a25fd 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -669,7 +669,7 @@ static void snd_azf3328_setfmt(azf3328_t *chip, | |||
669 | case 48000: val |= 0x06; break; | 669 | case 48000: val |= 0x06; break; |
670 | case 64000: val |= 0x07; break; | 670 | case 64000: val |= 0x07; break; |
671 | default: | 671 | default: |
672 | snd_printk("unknown bitrate %d, assuming 44.1kHz!\n", bitrate); | 672 | snd_printk(KERN_WARNING "unknown bitrate %d, assuming 44.1kHz!\n", bitrate); |
673 | val |= 0x05; /* 44100 */ | 673 | val |= 0x05; /* 44100 */ |
674 | break; | 674 | break; |
675 | } | 675 | } |
@@ -854,10 +854,10 @@ static int snd_azf3328_playback_trigger(snd_pcm_substream_t * substream, int cmd | |||
854 | chip->is_playing = 0; | 854 | chip->is_playing = 0; |
855 | break; | 855 | break; |
856 | case SNDRV_PCM_TRIGGER_PAUSE_PUSH: | 856 | case SNDRV_PCM_TRIGGER_PAUSE_PUSH: |
857 | snd_printk("FIXME: SNDRV_PCM_TRIGGER_PAUSE_PUSH NIY!\n"); | 857 | snd_printk(KERN_ERR "FIXME: SNDRV_PCM_TRIGGER_PAUSE_PUSH NIY!\n"); |
858 | break; | 858 | break; |
859 | case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: | 859 | case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: |
860 | snd_printk("FIXME: SNDRV_PCM_TRIGGER_PAUSE_RELEASE NIY!\n"); | 860 | snd_printk(KERN_ERR "FIXME: SNDRV_PCM_TRIGGER_PAUSE_RELEASE NIY!\n"); |
861 | break; | 861 | break; |
862 | default: | 862 | default: |
863 | return -EINVAL; | 863 | return -EINVAL; |
@@ -935,10 +935,10 @@ static int snd_azf3328_capture_trigger(snd_pcm_substream_t * substream, int cmd) | |||
935 | chip->is_playing = 0; | 935 | chip->is_playing = 0; |
936 | break; | 936 | break; |
937 | case SNDRV_PCM_TRIGGER_PAUSE_PUSH: | 937 | case SNDRV_PCM_TRIGGER_PAUSE_PUSH: |
938 | snd_printk("FIXME: SNDRV_PCM_TRIGGER_PAUSE_PUSH NIY!\n"); | 938 | snd_printk(KERN_ERR "FIXME: SNDRV_PCM_TRIGGER_PAUSE_PUSH NIY!\n"); |
939 | break; | 939 | break; |
940 | case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: | 940 | case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: |
941 | snd_printk("FIXME: SNDRV_PCM_TRIGGER_PAUSE_RELEASE NIY!\n"); | 941 | snd_printk(KERN_ERR "FIXME: SNDRV_PCM_TRIGGER_PAUSE_RELEASE NIY!\n"); |
942 | break; | 942 | break; |
943 | default: | 943 | default: |
944 | return -EINVAL; | 944 | return -EINVAL; |
@@ -1356,7 +1356,7 @@ static int __devinit snd_azf3328_create(snd_card_t * card, | |||
1356 | /* check if we can restrict PCI DMA transfers to 24 bits */ | 1356 | /* check if we can restrict PCI DMA transfers to 24 bits */ |
1357 | if (pci_set_dma_mask(pci, 0x00ffffff) < 0 || | 1357 | if (pci_set_dma_mask(pci, 0x00ffffff) < 0 || |
1358 | pci_set_consistent_dma_mask(pci, 0x00ffffff) < 0) { | 1358 | pci_set_consistent_dma_mask(pci, 0x00ffffff) < 0) { |
1359 | snd_printk("architecture does not support 24bit PCI busmaster DMA\n"); | 1359 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); |
1360 | pci_disable_device(pci); | 1360 | pci_disable_device(pci); |
1361 | return -ENXIO; | 1361 | return -ENXIO; |
1362 | } | 1362 | } |
@@ -1374,7 +1374,7 @@ static int __devinit snd_azf3328_create(snd_card_t * card, | |||
1374 | chip->mixer_port = pci_resource_start(pci, 4); | 1374 | chip->mixer_port = pci_resource_start(pci, 4); |
1375 | 1375 | ||
1376 | if (request_irq(pci->irq, snd_azf3328_interrupt, SA_INTERRUPT|SA_SHIRQ, card->shortname, (void *)chip)) { | 1376 | if (request_irq(pci->irq, snd_azf3328_interrupt, SA_INTERRUPT|SA_SHIRQ, card->shortname, (void *)chip)) { |
1377 | snd_printk("unable to grab IRQ %d\n", pci->irq); | 1377 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1378 | snd_azf3328_free(chip); | 1378 | snd_azf3328_free(chip); |
1379 | return -EBUSY; | 1379 | return -EBUSY; |
1380 | } | 1380 | } |
@@ -1450,7 +1450,7 @@ static int __devinit snd_azf3328_probe(struct pci_dev *pci, | |||
1450 | if ((err = snd_mpu401_uart_new( card, 0, MPU401_HW_MPU401, | 1450 | if ((err = snd_mpu401_uart_new( card, 0, MPU401_HW_MPU401, |
1451 | chip->mpu_port, 1, pci->irq, 0, | 1451 | chip->mpu_port, 1, pci->irq, 0, |
1452 | &chip->rmidi)) < 0) { | 1452 | &chip->rmidi)) < 0) { |
1453 | snd_printk("azf3328: no MPU-401 device at 0x%lx?\n", chip->mpu_port); | 1453 | snd_printk(KERN_ERR "azf3328: no MPU-401 device at 0x%lx?\n", chip->mpu_port); |
1454 | snd_card_free(card); | 1454 | snd_card_free(card); |
1455 | return err; | 1455 | return err; |
1456 | } | 1456 | } |
@@ -1462,7 +1462,7 @@ static int __devinit snd_azf3328_probe(struct pci_dev *pci, | |||
1462 | 1462 | ||
1463 | if (snd_opl3_create(card, chip->synth_port, chip->synth_port+2, | 1463 | if (snd_opl3_create(card, chip->synth_port, chip->synth_port+2, |
1464 | OPL3_HW_AUTO, 1, &opl3) < 0) { | 1464 | OPL3_HW_AUTO, 1, &opl3) < 0) { |
1465 | snd_printk("azf3328: no OPL3 device at 0x%lx-0x%lx?\n", | 1465 | snd_printk(KERN_ERR "azf3328: no OPL3 device at 0x%lx-0x%lx?\n", |
1466 | chip->synth_port, chip->synth_port+2 ); | 1466 | chip->synth_port, chip->synth_port+2 ); |
1467 | } else { | 1467 | } else { |
1468 | if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { | 1468 | if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { |