mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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:
parent
4f34190efb
commit
46738d8f90
1 changed files with 3 additions and 3 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue