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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 09 Sep 2021 13:39:06 +0200,
Sasha Levin wrote:
> 
> From: Takashi Iwai <tiwai@xxxxxxx>
> 
> [ 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@xxxxxxx
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

This change is superfluous for 5.14.  Please drop.


thanks,

Takashi



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux