diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-10-20 13:31:17 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-20 15:16:02 +0200 |
| commit | 443ed4edc2678cc51c5a01e7dffc4c890be40051 (patch) | |
| tree | 5e4529ead6efc3eb4000414a0d384986bda2434e /scripts/Makefile.thinlto | |
| parent | 8a5d87c2ba30e8de31cfbe888fd4d95f43c63db9 (diff) | |
| download | linux-443ed4edc2678cc51c5a01e7dffc4c890be40051.tar.gz linux-443ed4edc2678cc51c5a01e7dffc4c890be40051.zip | |
ALSA: line6: Handle period elapsed calls outside the locks
LINE6 driver may call snd_pcm_period_elapsed() for both playback and
capture substreams at processing the playback substream, and this may
lead to a ABBA deadlock.
Move the actual calls of snd_pcm_period_elapsed() outside the locks
for avoiding it. The capture period notification at submitting the
initial playback URBs (only with the impulse mode) is simply skipped,
as it's done in the lock context; it'll be caught up at the next
period.
Fixes: f56742cc4189 ("ALSA: line6: Add LINE6_CAP_IN_NEEDS_OUT, a void playback stream during capture")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://sashiko.dev/#/bug/linux-5a9de389-e6ea-410d-8322-e74e14152603
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20261020113118.234689-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
