aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2019-11-17 09:53:07 +0100
committerTakashi Iwai <[email protected]>2019-11-20 19:39:54 +0100
commitfabb26dcd104027b971c018275fe40f2ebe09ae3 (patch)
treef6428eb1cdc7dbfa009e7d0bb684b0407b491307 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent1e850beea2781d30418743dd99250291cef37919 (diff)
ALSA: pcm: Add card sync_irq field
Many PCI and other drivers performs snd_pcm_period_elapsed() simply in its interrupt handler, so the sync_stop operation is just to call synchronize_irq(). Instead of putting this call multiple times, introduce the common card->sync_irq field. When this field is set, PCM core performs synchronize_irq() for sync-stop operation. Each driver just needs to copy its local IRQ number to card->sync_irq, and that's all we need. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions