u-boot/drivers/firmware/scmi
Patrick Delaunay eebb967dce firmware: scmi: fix the multi channel support with CCF
When the CCF is activated, the dev->parent is not necessary
the reference to SCMI transport and the function devm_scmi_of_get_channel
failed for the registered SCMI clock, child for protocol@14,
the channel is null and the SCMI clock driver crash for any operations.

This patch changes the first parameter of the ops of_get_channel(),
aligned with other process_msg() to pass directly the good reference,
i.e. parent result of find_scmi_transport_device(dev)
which return the reference of the scmi transport device.

Fixes: 8e96801aa6 ("firmware: scmi: add multi-channel support")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2022-10-12 08:55:31 -04:00
..
Kconfig firmware: scmi: Add OP-TEE transport 2021-11-23 13:54:43 -05:00
mailbox_agent.c firmware: scmi: fix the multi channel support with CCF 2022-10-12 08:55:31 -04:00
Makefile firmware: scmi: Add OP-TEE transport 2021-11-23 13:54:43 -05:00
optee_agent.c firmware: scmi: fix the multi channel support with CCF 2022-10-12 08:55:31 -04:00
sandbox-scmi_agent.c firmware: scmi: prepare uclass to pass channel reference 2022-06-23 13:12:55 -04:00
sandbox-scmi_devices.c sandbox: scmi: test against a single scmi agent 2022-03-02 17:42:06 -05:00
scmi_agent-uclass.c firmware: scmi: fix the multi channel support with CCF 2022-10-12 08:55:31 -04:00
smccc_agent.c firmware: scmi: fix the multi channel support with CCF 2022-10-12 08:55:31 -04:00
smt.c firmware: scmi: optee: use TEE shared memory for SCMI messages 2022-06-23 13:12:55 -04:00
smt.h firmware: scmi: optee: use TEE shared memory for SCMI messages 2022-06-23 13:12:55 -04:00