Ignore:
Timestamp:
Apr 21, 2008, 2:52:19 AM (17 years ago)
Author:
Brendan Oakley
Message:

alsa-resync1 branch merged to ALSA 1.0.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/drivers/serial-u16550.c

    r290 r348  
    352352
    353353    /* Do some vague tests for the presence of the uart */
    354         if (io_base == 0) {
     354        if (io_base == 0 || io_base == SNDRV_AUTO_PORT) {
    355355        return -ENODEV; /* Not configured */
    356356        }
     
    830830        }
    831831
    832     if (irq >= 0) {
     832        if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {
    833833        if (request_irq(irq, snd_uart16550_interrupt,
    834834                        SA_INTERRUPT, "Serial MIDI", (void *) uart)) {
    835             uart->irq = -1;
    836835            snd_printk("irq %d busy. Using Polling.\n", irq);
    837836        } else {
Note: See TracChangeset for help on using the changeset viewer.