浏览代码

ASoC: bolero: Disable rx swr gpio as wakeup capable

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

Change-Id: Idd76f8304e61b97e53ca82e407bedbdc9b0f5a7f
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi 4 年之前
父节点
当前提交
e0b041f380
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      asoc/codecs/bolero/rx-macro.c

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

@@ -4111,6 +4111,8 @@ static int rx_macro_probe(struct platform_device *pdev)
 			__func__);
 		return -EPROBE_DEFER;
 	}
+	msm_cdc_pinctrl_set_wakeup_capable(
+				rx_priv->rx_swr_gpio_p, false);
 
 	rx_io_base = devm_ioremap(&pdev->dev, rx_base_addr,
 				  RX_MACRO_MAX_OFFSET);