]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: sb: Don't allow changing the DMA mode during operations
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Jun 2025 06:43:19 +0000 (08:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:03:15 +0000 (16:03 +0200)
commitc7922052c6f26e69e6361a1604b6828ddaac4be3
treec03b7f10ee2dd9d5c88bdf008af3525d8ab4ac26
parentc40ad1c04d306f7fde26337fdcf8a5979657d93f
ALSA: sb: Don't allow changing the DMA mode during operations

[ Upstream commit ed29e073ba93f2d52832804cabdd831d5d357d33 ]

When a PCM stream is already running, one shouldn't change the DMA
mode via kcontrol, which may screw up the hardware.  Return -EBUSY
instead.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=218185
Link: https://patch.msgid.link/20250610064322.26787-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/isa/sb/sb16_main.c