[PATCH] ALSA: pcm: Fix build error on m68k and others
Takashi Iwai
tiwai at suse.de
Tue Jul 7 13:13:53 CEST 2020
On Tue, 07 Jul 2020 13:12:25 +0200,
Takashi Iwai wrote:
>
> The commit 3ad796cbc36a ("ALSA: pcm: Use SG-buffer only when direct
> DMA is available") introduced a check of the DMA type and this caused
> a build error on m68k (and possibly some others) due to the lack of
> dma_is_direct() definition. Since the check is needed only for
> CONFIG_SND_DMA_SGBUF enablement (i.e. solely x86), use #ifdef instead
> of IS_ENABLED() for avoiding such a build error.
>
> Fixes: 3ad796cbc36a ("ALSA: pcm: Use SG-buffer only when direct DMA is available")
> Reported-by: Reported-by: kernel test robot <lkp at intel.com>
Oops, doubly reported-by. I corrected at merging.
Takashi
More information about the Alsa-devel
mailing list