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

Commit 455f2009 authored by Dundi Raviteja's avatar Dundi Raviteja
Browse files

wcnss: Enable smd channel ready



Enable smd channel ready after getting nv binary
download response.

Change-Id: Ie36b8d1c0273c832892b338ac81cf9738fe6f9f4
Signed-off-by: default avatarDundi Raviteja <dundi@codeaurora.org>
parent e7fd5242
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1573,6 +1573,7 @@ static int wcnss_ctrl_probe(struct rpmsg_device *rpdev)

static void wcnss_ctrl_remove(struct rpmsg_device *rpdev)
{
	penv->smd_channel_ready = 0;
	of_platform_depopulate(&rpdev->dev);
}

@@ -2378,6 +2379,8 @@ static void wcnss_process_smd_msg(void *buf, int len)
		if (nvresp->status != WAIT_FOR_CBC_IND)
			penv->is_cbc_done = 1;

		penv->smd_channel_ready = 1;

		if (penv->ops)
			penv->ops->driver_state(penv->ops->priv_data,
						WCNSS_SMD_OPEN);