OSDN Git Service

ALSA: core: Add device-managed request_dma()
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:58:25 +0000 (09:58 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:16:34 +0000 (16:16 +0200)
commitc2b94954add3cb25b40a9aa8badd196671d9872b
tree89809a72a67ffec8c3056e9765aed56221983747
parente8ad415b7a55cb9a9fbfc04696518d5ea0b609b3
ALSA: core: Add device-managed request_dma()

This patch adds a devres-supported helper for requesting an ISA DMA
channel that will be automatically freed at the device unbinding.
It'll be used by quite a few ISA sound drivers.

Link: https://lore.kernel.org/r/20210715075941.23332-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/core/isadma.c