|
@@ -789,7 +789,7 @@ static int __init snd_uart16550_create(struct snd_card *card,
|
|
|
|
|
|
if ((err = snd_uart16550_detect(uart)) <= 0) {
|
|
if ((err = snd_uart16550_detect(uart)) <= 0) {
|
|
printk(KERN_ERR "no UART detected at 0x%lx\n", iobase);
|
|
printk(KERN_ERR "no UART detected at 0x%lx\n", iobase);
|
|
- return err;
|
|
|
|
|
|
+ return -ENODEV;
|
|
}
|
|
}
|
|
|
|
|
|
if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {
|
|
if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {
|