aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2026-10-07 11:49:29 +0300
committerMark Brown <broonie@kernel.org>2026-10-07 13:16:48 +0200
commitfd7f98db9c28574b102303e317f4dca712281003 (patch)
tree467da0f2985ac4a5411f8a3c89128d9a80246f30 /scripts/Makefile.thinlto
parentALSA: compress: pin card module while stream is open (diff)
ALSA: compress: register the open file with the card
The compress-offload device is the only ALSA character device family which does not add its open files to the card's file list. Without it the core cannot replace the file operations on disconnect, so syscalls issued after the card is gone still reach the driver, and a card freed with snd_card_free_when_closed() does not wait for the open compress streams. Call snd_card_file_add() at open and snd_card_file_remove() at release, following the ordering used by the PCM, control, rawmidi and hwdep devices. Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261007084955.1256-3-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions