aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2026-10-07 11:49:28 +0300
committerMark Brown <broonie@kernel.org>2026-10-07 13:16:48 +0200
commit59b7978580c70aa0934e9b1968f77e9f876cd658 (patch)
tree801b5cc9546849f114b5ff0fff0c8adc3243219b /scripts/Makefile.thinlto
parentLinux 7.3-rc6 (diff)
ALSA: compress: pin card module while stream is open
Take a module reference in snd_compr_open() and release it in snd_compr_free(). This pins the card driver module for the lifetime of an open compress stream and prevents card removal while the stream file is still in use. Adjust the open() cleanup paths to drop the added module reference only when it was acquired, and keep release ordering safe by dropping the module reference before freeing stream data. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261007084955.1256-2-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