diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2015-12-08 17:08:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-12 23:43:13 +0100 |
commit | 078e71838cdff1c2a1a33e65459954adda9a4641 (patch) | |
tree | 3cc1cef6b442b5a97942104b404fa0c91fce8b4d /sound/soc/codecs/wm_adsp.h | |
parent | ASoC: wm_adsp: Expand the list of available firmwares (diff) | |
download | linux-078e71838cdff1c2a1a33e65459954adda9a4641.tar.xz linux-078e71838cdff1c2a1a33e65459954adda9a4641.zip |
ASoC: wm_adsp: Replace debugfs lock with more general DSP power lock
Most events around the DSP just need to be locked to ensure that the DSP
can't change power state whilst they are happening. This includes the
debugfs entries and this will make sorting the rest of the locking
simpler.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r-- | sound/soc/codecs/wm_adsp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h index 2d117cf0e953..93764139313b 100644 --- a/sound/soc/codecs/wm_adsp.h +++ b/sound/soc/codecs/wm_adsp.h @@ -59,9 +59,10 @@ struct wm_adsp { struct work_struct boot_work; + struct mutex pwr_lock; + #ifdef CONFIG_DEBUG_FS struct dentry *debugfs_root; - struct mutex debugfs_lock; char *wmfw_file_name; char *bin_file_name; #endif |