summaryrefslogtreecommitdiff
path: root/sound/usb/pcm.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-10-06 16:22:14 +0200
committerTakashi Iwai <tiwai@suse.de>2021-10-07 09:16:56 +0200
commit36df2427ac3ea04510368561c8cee22388a7434a (patch)
tree998f158183ba7e457652a80571b082858a2c1f16 /sound/usb/pcm.c
parent23939115be181bc5dbc33aa8471adcdbffa28910 (diff)
downloadlwn-36df2427ac3ea04510368561c8cee22388a7434a.tar.gz
lwn-36df2427ac3ea04510368561c8cee22388a7434a.zip
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>
Diffstat (limited to 'sound/usb/pcm.c')
0 files changed, 0 insertions, 0 deletions