summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt711-sdca.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/rt711-sdca.h')
-rw-r--r--sound/soc/codecs/rt711-sdca.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt711-sdca.h b/sound/soc/codecs/rt711-sdca.h
index 43ae82b7fdb3..498ca687c47b 100644
--- a/sound/soc/codecs/rt711-sdca.h
+++ b/sound/soc/codecs/rt711-sdca.h
@@ -27,6 +27,8 @@ struct rt711_sdca_priv {
struct delayed_work jack_detect_work;
struct delayed_work jack_btn_check_work;
struct mutex calibrate_mutex; /* for headset calibration */
+ struct mutex disable_irq_lock; /* SDCA irq lock protection */
+ bool disable_irq;
int jack_type, jd_src;
unsigned int scp_sdca_stat1, scp_sdca_stat2;
int hw_ver;