Changeset 772 for GPL/trunk/alsa-kernel/hda/hdac_controller.c
- Timestamp:
- Apr 19, 2025, 8:08:37 PM (5 months ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-6.6-LTS (added) merged: 765,768-769 /GPL/branches/uniaud32-exp (added) merged: 735-741,743-744,748-751,753-760,762-764 /GPL/branches/uniaud32-next merged: 718-734
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/hda/hdac_controller.c
r717 r772 80 80 snd_hdac_chip_writew(bus, RINTCNT, 1); 81 81 /* 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); 83 86 /* Accept unsolicited responses */ 84 87 snd_hdac_chip_updatel(bus, GCTL, AZX_GCTL_UNSOL, AZX_GCTL_UNSOL); … … 481 484 snd_hdac_stream_updateb(azx_dev, SD_CTL, SD_INT_MASK, 0); 482 485 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); 488 488 } 489 489 … … 588 588 snd_hdac_stream_writeb(azx_dev, SD_STS, SD_INT_MASK); 589 589 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)) 592 592 continue; 593 593 if (ack)
Note:
See TracChangeset
for help on using the changeset viewer.