commit | 36df2427ac3ea04510368561c8cee22388a7434a | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Oct 06 16:22:14 2021 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Oct 07 09:16:56 2021 +0200 |
tree | 998f158183ba7e457652a80571b082858a2c1f16 | |
parent | 23939115be181bc5dbc33aa8471adcdbffa28910 [diff] |
ALSA: pcm: Add more disconnection checks at file ops 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: Takashi Iwai <tiwai@suse.de>