diff options
author | Stephen Oglesby <soglesby@codeaurora.org> | 2016-05-19 17:19:35 -0700 |
---|---|---|
committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-13 16:18:31 -0700 |
commit | bbcb7758294b882907b011c0a70b55a5bfd91b43 (patch) | |
tree | 8d7510e2fa4d6abde3c8ac9b7a5c947c48f6555e /include/linux/mfd | |
parent | 402fc23f0c2d395fe52bdfdd2169c5682ed75d6f (diff) |
ASoC: msmcobalt: Switch ground/mic swap GPIO control to pinctrl
Switch to swap ground and mic headset poles is controlled by a
GPIO on the Apps processor instead of the PMIC, and therefore
software logic must change to use pinctrl APIs
CRs-fixed: 1019254
Change-Id: Ibccddc82b18614ddbe6ef9c9720b3de1ce00163e
Signed-off-by: Stephen Oglesby <soglesby@codeaurora.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/msm-cdc-pinctrl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/msm-cdc-pinctrl.h b/include/linux/mfd/msm-cdc-pinctrl.h index a4a34c125581..395b935b6aec 100644 --- a/include/linux/mfd/msm-cdc-pinctrl.h +++ b/include/linux/mfd/msm-cdc-pinctrl.h @@ -19,6 +19,7 @@ #ifdef CONFIG_MSM_CDC_PINCTRL extern int msm_cdc_pinctrl_select_sleep_state(struct device_node *); extern int msm_cdc_pinctrl_select_active_state(struct device_node *); +extern bool msm_cdc_pinctrl_get_state(struct device_node *); #else int msm_cdc_pinctrl_select_sleep_state(struct device_node *np) |