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

Commit 14296de0 authored by Protik Biswas's avatar Protik Biswas Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: bgrsb: enable RSB to send command



bg-rsb driver makes use of bgrsb-rpmsg driver
for Glink communication.
This change enables rsb driver to send tx message
on RSB_CTRL channel with the help of rpmsg driver.

Change-Id: Ib68df84d88c42bd310c1a3676be61d991d711ba3
Signed-off-by: default avatarProtik Biswas <protbisw@codeaurora.org>
parent 852e7611
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -271,6 +271,7 @@ static int bgrsb_tx_msg(struct bgrsb_priv *dev, void *msg, size_t len)
		pr_err("bgrsb-rpmsg is not probed yet, waiting for it to be probed\n");
		goto err_ret;
	}
	rc = bgrsb_rpmsg_tx_msg(msg, len);
	if (rc != 0)
		pr_err("bgrsb_rpmsg_tx_msg failed %d\n", rc);

+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include <linux/wait.h>
#include <soc/qcom/subsystem_restart.h>
#include <soc/qcom/subsystem_notif.h>

#include "bgrsb_rpmsg.h"
struct event {
	uint8_t sub_id;
	int16_t evnt_data;