Prechádzať zdrojové kódy

ASoC: bolero: Disable wsa swr gpio as wakeup capable

Disable wsa swr gpio as wakeup capable to avoid waking up system
during power collapse.

Change-Id: I54d769d63c9e7c13d2920f038c64353a92556cfe
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi 4 rokov pred
rodič
commit
b0e4323d6a
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      asoc/codecs/bolero/wsa-macro.c

+ 2 - 0
asoc/codecs/bolero/wsa-macro.c

@@ -3177,6 +3177,8 @@ static int wsa_macro_probe(struct platform_device *pdev)
 			__func__);
 		return -EPROBE_DEFER;
 	}
+	msm_cdc_pinctrl_set_wakeup_capable(
+				wsa_priv->wsa_swr_gpio_p, false);
 
 	wsa_io_base = devm_ioremap(&pdev->dev,
 				   wsa_base_addr, WSA_MACRO_MAX_OFFSET);