remoteproc: qcom: pas: Fix subdevice add order
The subdevice list should be populated in a particular order as the state notifications have a priority. This change re-orders the subdevice add calls to ensure higher priority subdevices are present at the start of the list. Change-Id: I9f98c95a77bcdd783e36b959836a19ff06da9526 Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
This commit is contained in:
parent
d0d4b22e97
commit
c9f2092072
@ -821,7 +821,6 @@ static int adsp_probe(struct platform_device *pdev)
|
||||
timeout_disabled = qcom_pil_timeouts_disabled();
|
||||
qcom_add_glink_subdev(rproc, &adsp->glink_subdev, desc->ssr_name);
|
||||
qcom_add_smd_subdev(rproc, &adsp->smd_subdev);
|
||||
qcom_add_ssr_subdev(rproc, &adsp->ssr_subdev, desc->ssr_name);
|
||||
adsp->sysmon = qcom_add_sysmon_subdev(rproc,
|
||||
desc->sysmon_name,
|
||||
desc->ssctl_id);
|
||||
@ -831,6 +830,7 @@ static int adsp_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
qcom_sysmon_register_ssr_subdev(adsp->sysmon, &adsp->ssr_subdev.subdev);
|
||||
qcom_add_ssr_subdev(rproc, &adsp->ssr_subdev, desc->ssr_name);
|
||||
ret = device_create_file(adsp->dev, &dev_attr_txn_id);
|
||||
if (ret)
|
||||
goto remove_subdevs;
|
||||
|
Loading…
Reference in New Issue
Block a user