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:
|
||
|---|---|---|
| .. | ||
| scmi | ||
| Kconfig | ||
| Makefile | ||
| firmware-sandbox.c | ||
| firmware-uclass.c | ||
| firmware-zynqmp.c | ||
| psci.c | ||
| ti_sci.c | ||
| ti_sci.h | ||
| ti_sci_static_data.h | ||