diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-04-13 10:09:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-04-13 10:09:46 +0200 |
commit | 99fff44fe339b21c6a4ddd6c1239e587dd439cd3 (patch) | |
tree | 132e59f06c467786f21b9b67a5a031936850b384 /include/sound | |
parent | 6b580f523172f2c738b661069a57c23c74a75f88 (diff) | |
parent | 183ab39eb0ea9879bb68422a83e65f750f3192f0 (diff) |
Merge branch 'for-linus' into for-next
Back-merge the 5.1 devel branch for the further HD-audio development.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index eb7db605955b..482b4ea87c3c 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -802,8 +802,13 @@ struct snd_soc_component_driver { int probe_order; int remove_order; - /* signal if the module handling the component cannot be removed */ - unsigned int ignore_module_refcount:1; + /* + * signal if the module handling the component should not be removed + * if a pcm is open. Setting this would prevent the module + * refcount being incremented in probe() but allow it be incremented + * when a pcm is opened and decremented when it is closed. + */ + unsigned int module_get_upon_open:1; /* bits */ unsigned int idle_bias_on:1; @@ -1083,6 +1088,8 @@ struct snd_soc_card { struct mutex mutex; struct mutex dapm_mutex; + spinlock_t dpcm_lock; + bool instantiated; bool topology_shortname_created; |