Re: [PATCH AUTOSEL 5.14 132/252] ALSA: pci: cs46xx: Fix set up buffer type properly

Takashi Iwai
2021-09-09T11:55:44Z

On Thu, 09 Sep 2021 13:39:06 +0200,
Sasha Levin wrote:
>
> From: Takashi Iwai <tiwai@suse.de>
>
> [ Upstream commit 4d9e9153f1c64d91a125c6967bc0bfb0bb653ea0 ]
>
> CS46xx driver switches the buffer depending on the number of periods,
> and in some cases it switches to the own buffer without updating the
> buffer type properly. This may cause a problem with the mmap on
> exotic architectures that require the own mmap call for the coherent
> DMA buffer.
>
> This patch addresses the potential breakage by replacing the buffer
> setup with the proper macro. It also simplifies the source code,
> too.
>
> Link: https://lore.kernel.org/r/20210809071829.22238-4-tiwai@suse.de
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> Signed-off-by: Sasha Levin <sashal@kernel.org>

This change is superfluous for 5.14. Please drop.

thanks,

Takashi