aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dapm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 55c6d3d1894f..66ff4c124dbd 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -341,6 +341,7 @@ int snd_soc_dapm_get_pin_status(struct snd_soc_codec *codec, const char *pin);
341int snd_soc_dapm_sync(struct snd_soc_codec *codec); 341int snd_soc_dapm_sync(struct snd_soc_codec *codec);
342int snd_soc_dapm_force_enable_pin(struct snd_soc_codec *codec, 342int snd_soc_dapm_force_enable_pin(struct snd_soc_codec *codec,
343 const char *pin); 343 const char *pin);
344int snd_soc_dapm_ignore_suspend(struct snd_soc_codec *codec, const char *pin);
344 345
345/* dapm widget types */ 346/* dapm widget types */
346enum snd_soc_dapm_type { 347enum snd_soc_dapm_type {
@@ -428,6 +429,7 @@ struct snd_soc_dapm_widget {
428 unsigned char new:1; /* cnew complete */ 429 unsigned char new:1; /* cnew complete */
429 unsigned char ext:1; /* has external widgets */ 430 unsigned char ext:1; /* has external widgets */
430 unsigned char force:1; /* force state */ 431 unsigned char force:1; /* force state */
432 unsigned char ignore_suspend:1; /* kept enabled over suspend */
431 433
432 int (*power_check)(struct snd_soc_dapm_widget *w); 434 int (*power_check)(struct snd_soc_dapm_widget *w);
433 435