summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/max98090.h
diff options
context:
space:
mode:
authorDongwoo Lee <dwoo08.lee@samsung.com>2016-10-21 11:51:46 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:54:36 +0900
commit0e82e9072af96d58e85122296c074a37085879e7 (patch)
tree835c40b4c0a21dbfc7f40036ff54c6f61b6c7e80 /sound/soc/codecs/max98090.h
parent287de690cbe05fa894e510b9482f47943227f259 (diff)
ASoC: max98090: Add extcon support for jack detection notification
This patch applies extcon for jack detection notification. Changes in jack state is reported to input driver with snd-soc framework, as well as to extcon framework. Change-Id: Id46f10320b18258472521fad57cbbfc98547bb6d Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Diffstat (limited to 'sound/soc/codecs/max98090.h')
-rw-r--r--sound/soc/codecs/max98090.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98090.h b/sound/soc/codecs/max98090.h
index 21ff743f5af2..189447963e0c 100644
--- a/sound/soc/codecs/max98090.h
+++ b/sound/soc/codecs/max98090.h
@@ -1543,6 +1543,7 @@ struct max98090_priv {
unsigned int pa2en;
unsigned int sidetone;
bool master;
+ struct extcon_dev *edev;
};
int max98090_mic_detect(struct snd_soc_codec *codec,