From bbcb7758294b882907b011c0a70b55a5bfd91b43 Mon Sep 17 00:00:00 2001 From: Stephen Oglesby Date: Thu, 19 May 2016 17:19:35 -0700 Subject: 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 --- include/linux/mfd/msm-cdc-pinctrl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/mfd') 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) -- cgit v1.2.3