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

Commit aaf0ffc2 authored by Sana Venkat Raju's avatar Sana Venkat Raju
Browse files

msm: msm_bus: Correct Error string while reading Clients pdata



Currently if clients miss any DT entry the error messages popping
up as "error getting pdata",which is causing ambiguity while debugging
failure cases.This patch adds correct error string for missing DT entries
and makes the error string more self-explanatory.

CRs-Fixed: 592445
Change-Id: Ic9f666d6b46722c14c77035bec3cfce09dc2b257
Signed-off-by: default avatarSana Venkat Raju <c_vsana@codeaurora.org>
parent 51f18552
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@ struct msm_bus_scale_pdata *msm_bus_cl_get_pdata(struct platform_device *pdev)
	of_node = pdev->dev.of_node;
	pdata = get_pdata(pdev, of_node);
	if (!pdata) {
		pr_err("Error getting bus pdata!\n");
		pr_err("client has to provide missing entry for successful registration\n");
		return NULL;
	}

@@ -214,7 +214,7 @@ struct msm_bus_scale_pdata *msm_bus_pdata_from_node(

	pdata = get_pdata(pdev, of_node);
	if (!pdata) {
		pr_err("Error getting bus pdata!\n");
		pr_err("client has to provide missing entry for successful registration\n");
		return NULL;
	}