From 39bb9cd5fab4be14d4ded68647fd88a4c867659e Mon Sep 17 00:00:00 2001 From: Mohammed Siddiq Date: Tue, 19 Jan 2021 11:25:53 +0530 Subject: [PATCH] cnss2: Update GPIOs for wake capability disablement Update GPIOs(151 and 202) for wake capability disablement on lahaina and shima. Change-Id: I97f114ceaf454c3653e69ff912c6b78fd718e8fe Signed-off-by: Mohammed Siddiq --- drivers/pinctrl/qcom/pinctrl-lahaina.c | 5 ++--- drivers/pinctrl/qcom/pinctrl-shima.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-lahaina.c b/drivers/pinctrl/qcom/pinctrl-lahaina.c index d9545cb1fe59..e728d23ab399 100644 --- a/drivers/pinctrl/qcom/pinctrl-lahaina.c +++ b/drivers/pinctrl/qcom/pinctrl-lahaina.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. */ #include @@ -1984,8 +1984,7 @@ static const struct msm_pinctrl_soc_data lahaina_pinctrl = { /* By default, all the gpios that are mpm wake capable are enabled. * The following list disables the gpios explicitly */ -static const unsigned int config_mpm_wake_disable_gpios[] = { -}; +static const unsigned int config_mpm_wake_disable_gpios[] = { 151, 202 }; static void lahaina_pinctrl_config_mpm_wake_disable_gpios(void) { diff --git a/drivers/pinctrl/qcom/pinctrl-shima.c b/drivers/pinctrl/qcom/pinctrl-shima.c index 6f00d1942bdc..62bf631f425b 100644 --- a/drivers/pinctrl/qcom/pinctrl-shima.c +++ b/drivers/pinctrl/qcom/pinctrl-shima.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2021, The Linux Foundation. All rights reserved. */ #include @@ -1902,8 +1902,7 @@ static const struct msm_pinctrl_soc_data shima_pinctrl = { /* By default, all the gpios that are mpm wake capable are enabled. * The following list disables the gpios explicitly */ -static const unsigned int config_mpm_wake_disable_gpios[] = { -}; +static const unsigned int config_mpm_wake_disable_gpios[] = { 151, 202 }; static void shima_pinctrl_config_mpm_wake_disable_gpios(void) {