Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46738d8f authored by Umesh Vats's avatar Umesh Vats Committed by Gerrit - the friendly Code Review server
Browse files

bluetooth: fix the gpio names in devicetree



Fixed the names of the SW_CTRL and Debug GPIOs in devicetree.

Change-Id: Ibdcc1164cd88a65fe5b33927f2b0f0098c15af1f
Signed-off-by: default avatarUmesh Vats <uvats@codeaurora.org>
parent 4f34190e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -646,13 +646,13 @@ static int bt_power_populate_dt_pinfo(struct platform_device *pdev)

		bt_power_pdata->bt_gpio_sw_ctrl  =
			of_get_named_gpio(pdev->dev.of_node,
						"qca,bt-sw-ctrl-gpio",  0);
						"qcom,bt-sw-ctrl-gpio",  0);
		if (bt_power_pdata->bt_gpio_sw_ctrl < 0)
			pr_err("bt-sw_ctrl-gpio not provided in devicetree\n");
			pr_err("bt-sw-ctrl-gpio not provided in devicetree\n");

		bt_power_pdata->bt_gpio_debug  =
			of_get_named_gpio(pdev->dev.of_node,
						"qca,bt-debug-gpio",  0);
						"qcom,bt-debug-gpio",  0);
		if (bt_power_pdata->bt_gpio_debug < 0)
			pr_err("bt-debug-gpio not provided in devicetree\n");