mbox series

[0/3] ALSA: Set max DMA segment size

Message ID 20220215132756.31236-1-tiwai@suse.de
Headers show
Series ALSA: Set max DMA segment size | expand

Message

Takashi Iwai Feb. 15, 2022, 1:27 p.m. UTC
Hi,

this is a oneliner patches to address the spurious kernel WARNING from
DMA debug code for the missing setup of DMA segment size for SG pages.


Takashi

===

Takashi Iwai (3):
  ALSA: hda: Set max DMA segment size
  ASoC: SOF: hda: Set max DMA segment size
  ASoC: intel: skylake: Set max DMA segment size

 sound/pci/hda/hda_intel.c     | 1 +
 sound/soc/intel/skylake/skl.c | 1 +
 sound/soc/sof/intel/hda.c     | 1 +
 3 files changed, 3 insertions(+)

Comments

Mark Brown Feb. 16, 2022, 4:31 p.m. UTC | #1
On Tue, Feb 15, 2022 at 02:27:56PM +0100, Takashi Iwai wrote:
> The recent code refactoring to use the standard DMA helper requires
> the max DMA segment size setup for SG list management.  Without it,
> the kernel may spew warnings when a large buffer is allocated.

Acked-by: Mark Brown <broonie@kernel.org>