Searched hist:fabb26dcd104027b971c018275fe40f2ebe09ae3 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/sound/ |
H A D | core.h | diff fabb26dcd104027b971c018275fe40f2ebe09ae3 Sun Nov 17 02:53:07 CST 2019 Takashi Iwai <tiwai@suse.de> 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/20191117085308.23915-8-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
/openbmc/linux/sound/core/ |
H A D | init.c | diff fabb26dcd104027b971c018275fe40f2ebe09ae3 Sun Nov 17 02:53:07 CST 2019 Takashi Iwai <tiwai@suse.de> 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/20191117085308.23915-8-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | pcm_native.c | diff fabb26dcd104027b971c018275fe40f2ebe09ae3 Sun Nov 17 02:53:07 CST 2019 Takashi Iwai <tiwai@suse.de> 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/20191117085308.23915-8-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
|