Ignore:
Timestamp:
Apr 19, 2025, 8:08:37 PM (6 months ago)
Author:
David Azarewicz
Message:

Merge in changes from 6.6-LTS branch.
Fixed additional 25+ problems.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/pci/cs5535audio/cs5535audio_pcm.c

    r703 r772  
    111111{
    112112        unsigned int i;
    113         u32 addr, desc_addr, jmpprd_addr;
     113        u32 addr, jmpprd_addr;
    114114        struct cs5535audio_dma_desc *lastdesc;
    115115
     
    130130
    131131        /* the u32 cast is okay because in snd*create we successfully told
    132            pci alloc that we're only 32 bit capable so the uppper will be 0 */
     132           pci alloc that we're only 32 bit capable so the upper will be 0 */
    133133        addr = (u32) substream->runtime->dma_addr;
    134         desc_addr = (u32) dma->desc_buf.addr;
    135134        for (i = 0; i < periods; i++) {
    136135                struct cs5535audio_dma_desc *desc =
     
    139138                desc->size = cpu_to_le16(period_bytes);
    140139                desc->ctlreserved = cpu_to_le16(PRD_EOP);
    141                 desc_addr += sizeof(struct cs5535audio_dma_desc);
    142140                addr += period_bytes;
    143141        }
Note: See TracChangeset for help on using the changeset viewer.