]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: Intel: avs: Keep module refcount up when gathering traces
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 29 Sep 2023 11:24:34 +0000 (13:24 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 29 Sep 2023 12:17:54 +0000 (14:17 +0200)
commit0a5fb3cc28fda52c761775db2ccb7ccb954aee2a
tree010ed1db44a15c758466b1bea5cb6668666b2ce1
parent28a21cb26425797910b4d7ab0cad0d377d4a004c
ASoC: Intel: avs: Keep module refcount up when gathering traces

To prevent rmmod and similar behave unexpectedly when invoked on
snd_soc_avs module while the AudioDSP firmware tracing is ongoing,
increase the module refcount until the tracing is stopped.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20230929112436.787058-5-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/debugfs.c