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/pci/emu10k1/emu10k1x.c

    r522 r598  
    115115#define PLAYBACK_LIST_SIZE      0x01            /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000  */
    116116#define PLAYBACK_LIST_PTR       0x02            /* Pointer to the current period being played */
    117 #define PLAYBACK_DMA_ADDR       0x04            /* Playback DMA addresss */
     117#define PLAYBACK_DMA_ADDR       0x04            /* Playback DMA address */
    118118#define PLAYBACK_PERIOD_SIZE    0x05            /* Playback period size */
    119119#define PLAYBACK_POINTER        0x06            /* Playback period pointer. Sample currently in DAC */
     
    185185 *  - channel 0 is the front channel
    186186 *  - channel 1 is the rear channel
    187  *  - channel 2 is the center/lfe chanel
     187 *  - channel 2 is the center/lfe channel
    188188 * Volume is controlled by the AC97 for the front and rear channels by
    189189 * the PCM Playback Volume, Sigmatel Surround Playback Volume and
     
    10451045                        continue;
    10461046
    1047                 if ((reg < 0x49) /* && (reg >= 0) && (val <= 0xffffffff) && (channel_id >= 0) DAZ */ && (channel_id <= 2) )
     1047                if (reg < 0x49 && /* val <= 0xffffffff && DAZ */ channel_id <= 2)
    10481048                        snd_emu10k1x_ptr_write(emu, reg, channel_id, val);
    10491049        }
     
    16101610
    16111611// PCI IDs
    1612 static struct pci_device_id snd_emu10k1x_ids[] = {
     1612static DEFINE_PCI_DEVICE_TABLE(snd_emu10k1x_ids) = {
    16131613        { PCI_VDEVICE(CREATIVE, 0x0006), 0 },   /* Dell OEM version (EMU10K1) */
    16141614        { 0, }
Note: See TracChangeset for help on using the changeset viewer.