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: Umesh Vats <[email protected]>
This commit is contained in:
Umesh Vats 2020-06-18 15:19:11 -07:00 • committed by Gerrit - the friendly Code Review server
commit 46738d8f90

View file

@ -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");