Ignore:
Timestamp:
Apr 19, 2025, 8:08:37 PM (5 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/hda/hdac_controller.c

    r717 r772  
    8080        snd_hdac_chip_writew(bus, RINTCNT, 1);
    8181        /* enable rirb dma and response irq */
    82         snd_hdac_chip_writeb(bus, RIRBCTL, AZX_RBCTL_DMA_EN | AZX_RBCTL_IRQ_EN);
     82        if (bus->not_use_interrupts)
     83                snd_hdac_chip_writeb(bus, RIRBCTL, AZX_RBCTL_DMA_EN);
     84        else
     85                snd_hdac_chip_writeb(bus, RIRBCTL, AZX_RBCTL_DMA_EN | AZX_RBCTL_IRQ_EN);
    8386        /* Accept unsolicited responses */
    8487        snd_hdac_chip_updatel(bus, GCTL, AZX_GCTL_UNSOL, AZX_GCTL_UNSOL);
     
    481484                snd_hdac_stream_updateb(azx_dev, SD_CTL, SD_INT_MASK, 0);
    482485
    483         /* disable SIE for all streams */
    484         snd_hdac_chip_writeb(bus, INTCTL, 0);
    485 
    486         /* disable controller CIE and GIE */
    487         snd_hdac_chip_updatel(bus, INTCTL, AZX_INT_CTRL_EN | AZX_INT_GLOBAL_EN, 0);
     486        /* disable SIE for all streams & disable controller CIE and GIE */
     487        snd_hdac_chip_writel(bus, INTCTL, 0);
    488488}
    489489
     
    588588                        snd_hdac_stream_writeb(azx_dev, SD_STS, SD_INT_MASK);
    589589                        handled |= 1 << azx_dev->index;
    590                         if (!azx_dev->substream || !azx_dev->running ||
    591                             !(sd_status & SD_INT_COMPLETE))
     590                        if ((!azx_dev->substream && !azx_dev->cstream) ||
     591                            !azx_dev->running || !(sd_status & SD_INT_COMPLETE))
    592592                                continue;
    593593                        if (ack)
Note: See TracChangeset for help on using the changeset viewer.