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

Commit b3a9345c authored by Balakrishna Godavarthi's avatar Balakrishna Godavarthi Committed by Gerrit - the friendly Code Review server
Browse files

Bluetooth: Move missing dts entries logs to info message



If dts entries are missing, might be which are not required entry
for a SoC. Instead of logging them as error message moving them
to log messages.

Change-Id: Ieafa88159a4816d64fb33248a7dd5c82b0d46d3c
Signed-off-by: default avatarBalakrishna Godavarthi <bgodavar@codeaurora.org>
parent 5d2ca94b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -509,7 +509,7 @@ static int bt_dt_parse_vreg_info(struct device *dev,
static int bt_dt_parse_clk_info(struct device *dev,
		struct bt_power_clk_data **clk_data)
{
	int ret = -EINVAL;
	int ret = 0;
	struct bt_power_clk_data *clk = NULL;
	struct device_node *np = dev->of_node;

@@ -546,7 +546,7 @@ static int bt_dt_parse_clk_info(struct device *dev,

		*clk_data = clk;
	} else {
		BT_PWR_ERR("clocks is not provided in device tree");
		BT_PWR_INFO("clocks is not provided in device tree");
	}

err:
@@ -567,7 +567,7 @@ static int bt_power_populate_dt_pinfo(struct platform_device *pdev)
			of_get_named_gpio(pdev->dev.of_node,
						"qca,bt-reset-gpio", 0);
		if (bt_power_pdata->bt_gpio_sys_rst < 0)
			BT_PWR_ERR("bt-reset-gpio not provided in device tree");
			BT_PWR_INFO("bt-reset-gpio not provided in devicetree");

		rc = bt_dt_parse_vreg_info(&pdev->dev,
					&bt_power_pdata->bt_vdd_core,