From ca1c181f99b621e90844cc1ea0415c91e10db189 Mon Sep 17 00:00:00 2001 From: Karthikeyan Mani Date: Mon, 23 Apr 2018 18:13:15 -0700 Subject: [PATCH] asoc: msm: update names of MI2S and TDM pinctrl states The current names of MI2S and TDM pinctrl states are too similar to the actual pinctrl names. Update names of pinctrl states to avoid confusion. Change-Id: I1c775a29a32dad38dcc13ae395bd2557ec3a87c9 Signed-off-by: Karthikeyan Mani --- asoc/sm8150.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/asoc/sm8150.c b/asoc/sm8150.c index e561ad5d7353..535b6a8fbab2 100644 --- a/asoc/sm8150.c +++ b/asoc/sm8150.c @@ -4425,25 +4425,25 @@ static int msm_get_pinctrl(struct platform_device *pdev) /* get all the states handles from Device Tree */ pinctrl_info->mi2s_disable = pinctrl_lookup_state(pinctrl, - "quat-mi2s-sleep"); + "quat_mi2s_disable"); if (IS_ERR(pinctrl_info->mi2s_disable)) { pr_err("%s: could not get mi2s_disable pinstate\n", __func__); goto err; } pinctrl_info->mi2s_active = pinctrl_lookup_state(pinctrl, - "quat-mi2s-active"); + "quat_mi2s_enable"); if (IS_ERR(pinctrl_info->mi2s_active)) { pr_err("%s: could not get mi2s_active pinstate\n", __func__); goto err; } pinctrl_info->tdm_disable = pinctrl_lookup_state(pinctrl, - "quat-tdm-sleep"); + "quat_tdm_disable"); if (IS_ERR(pinctrl_info->tdm_disable)) { pr_err("%s: could not get tdm_disable pinstate\n", __func__); goto err; } pinctrl_info->tdm_active = pinctrl_lookup_state(pinctrl, - "quat-tdm-active"); + "quat_tdm_enable"); if (IS_ERR(pinctrl_info->tdm_active)) { pr_err("%s: could not get tdm_active pinstate\n", __func__);