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

Commit 875b55e2 authored by Dhoat Harpal's avatar Dhoat Harpal Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: xport_bgcom: Modify string check in bgcom_suspend



Glink_bgcom_suspend function compares the edge string with "bgcom".
Which is wrong value, as it should be "bg".

Modified the string to be compared to as "bg".

Change-Id: I5a6efe1e7cce261e9a42178b3a51cfc36d17e9de
Signed-off-by: default avatarDhoat Harpal <hdhoat@codeaurora.org>
parent 579d5fea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1690,7 +1690,7 @@ static int glink_bgcom_suspend(struct platform_device *pdev,
	int rc = -EBUSY;

	einfo = (struct edge_info *)dev_get_drvdata(&pdev->dev);
	if (strcmp(einfo->xprt_cfg.edge, "bgcom"))
	if (strcmp(einfo->xprt_cfg.edge, "bg"))
		return 0;

	spin_lock_irqsave(&einfo->activity_lock, flags);