ipc : gpr-lite: set dsp state to GPR_SUBSYS_LOADED
Dsp can get online before gpr ssr callback registering. Dsp state is never changed in this case. Set dsp state by default GPR_SUBSYS_LOADED at the tail of gpr probe. Change-Id: I3cc4087e0433f6d827042244f91f3110d234669d Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
Esse commit está contido em:
@@ -555,6 +555,10 @@ static int gpr_probe(struct rpmsg_device *rpdev)
|
||||
dev_info(dev, "%s: gpr-lite probe success\n",
|
||||
__func__);
|
||||
|
||||
#ifndef CONFIG_MSM_QDSP6_PDR
|
||||
gpr_set_q6_state(GPR_SUBSYS_LOADED);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Referência em uma nova issue
Block a user