Commit f0294f44 authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman
Browse files

ALSA: pcm: Add more disconnection checks at file ops

[ Upstream commit 36df2427 ]

In the case of hot-disconnection of a PCM device, all file operations
except for close should be rejected.  This patch adds more sanity
checks in the file operation code paths.

Link: https://lore.kernel.org/r/20211006142214.3089-1-tiwai@suse.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Stable-dep-of: 4f9d6743 ("ALSA: usb-audio: Notify xrun for low-latency mode")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0d6cd115
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment