[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] 2.4.0-prerelease-ac4: i810_audio.c: Alternate VRA fix
    Alan -

    Based on your suggestion, I looked again, and found that even though the kernel
    sets VRA, the bit is lost when the driver unnecessarily resets the CODEC. The
    patch below removes the unnecessary resetting of the CODEC. Nothing seems to be
    lost by removing the resetting, and the driver in 2.2 series (where VRA works
    fine) does not do this reset.

    If we find that somebody needs this reset, we can move the VRA enabling code
    after the codec reset code.


    Patch against 2.4.0-prerelease-ac4

    --- linux/drivers/sound/i810_audio.c.ac4 Sat Feb 3 01:26:31 2001
    +++ linux/drivers/sound/i810_audio.c Sat Feb 3 01:26:54 2001
    @@ -1898,11 +1898,6 @@
    pci_dev->driver_data = card;
    pci_dev->dma_mask = I810_DMA_MASK;

    -// printk("resetting codec?\n");
    - outl(0, card->iobase + GLOB_CNT);
    - udelay(500);
    -// printk("bringing it back?\n");
    - outl(1<<1, card->iobase + GLOB_CNT);
    return 0;
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at
     \ /
      Last update: 2005-03-22 12:52    [W:0.020 / U:66.912 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site