summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXing Zheng <zhengxing@rock-chips.com>2018-04-21 21:46:57 +0800
committerXing Zheng <zhengxing@rock-chips.com>2018-04-25 09:38:35 +0800
commit8fcec454166eb30a1f232dd9d11ebdc229d6e850 (patch)
treebac5cc9cd81e5b821505c63a844f71bec2c10748 /include
parent6530305c0ddf2ff8bc3ffddf84918275df024df4 (diff)
HACK-TO-REVERT: ASoC: simple-card: add support hp/mic detect for internal codec
This is a local patch, because our simple-card is too backward from upstream. This will take more time on the cherry-pick patch and verification. In order to speed up the progress, I put this local patch and please revert it after I merge the new patches of simple-card. Change-Id: If566cf66c69d3a4fccbffc423433e6b724a23c04 Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/simple_card.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/simple_card.h b/include/sound/simple_card.h
index 0399352f3a62..69c66991eb1e 100644
--- a/include/sound/simple_card.h
+++ b/include/sound/simple_card.h
@@ -35,4 +35,6 @@ struct asoc_simple_card_info {
struct asoc_simple_dai codec_dai;
};
+struct snd_soc_jack *asoc_simple_card_get_hp_jack(void);
+
#endif /* __SIMPLE_CARD_H */