Ignore:
Timestamp:
Apr 3, 2017, 4:51:56 PM (8 years ago)
Author:
David Azarewicz
Message:

Merged/reintegrated v2 branch into trunk. Trunk is now v2

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/drivers/serial-u16550.c

    r587 r598  
    3737#include <linux/slab.h>
    3838#include <linux/ioport.h>
    39 #include <linux/module.h>
     39#include <linux/moduleparam.h>
    4040#include <sound/core.h>
    4141#include <sound/rawmidi.h>
     
    7070static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;      /* Index 0-MAX */
    7171static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;       /* ID for this card */
    72 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
     72static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
    7373static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x3f8,0x2f8,0x3e8,0x2e8 */
    7474static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;        /* 3,4,5,7,9,10,11,14,15 */
     
    7878static int ins[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};  /* 1 to 16 */
    7979static int adaptor[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = SNDRV_SERIAL_SOUNDCANVAS};
    80 static bool droponfull[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS -1)] = SNDRV_SERIAL_NORMALBUFF };
     80static int droponfull[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS -1)] = SNDRV_SERIAL_NORMALBUFF };
    8181
    8282module_param_array(index, int, NULL, 0444);
     
    817817        if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {
    818818                if (request_irq(irq, snd_uart16550_interrupt,
    819                                 0, "Serial MIDI", uart)) {
     819                                IRQF_DISABLED, "Serial MIDI", uart)) {
    820820                        snd_printk(KERN_WARNING
    821821                                   "irq %d busy. Using Polling.\n", irq);
Note: See TracChangeset for help on using the changeset viewer.