]> www.infradead.org Git - users/jedix/linux-maple.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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 Jun 2025 06:45:33 +0000 (08:45 +0200)
commited29e073ba93f2d52832804cabdd831d5d357d33
tree3125f6a4b9808976873422e0b8eea82294433804
parent7b23887a0c70d15459f02c51651a111e9e5cab86
ALSA: sb: Don't allow changing the DMA mode during operations

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>
sound/isa/sb/sb16_main.c