mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
wcnss: Enable smd channel ready
Enable smd channel ready after getting nv binary download response. Change-Id: Ie36b8d1c0273c832892b338ac81cf9738fe6f9f4 Signed-off-by: Dundi Raviteja <dundi@codeaurora.org>
This commit is contained in:
parent
e7fd524261
commit
455f200912
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user