[PATCH] firmware: scmi: fix the multi channel support with CCF
Tom Rini
trini at konsulko.com
Wed Oct 12 21:14:18 CEST 2022
On Fri, Sep 30, 2022 at 09:36:38AM +0200, Patrick Delaunay wrote:
> 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 at 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: 8e96801aa6a ("firmware: scmi: add multi-channel support")
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221012/0ac7e34a/attachment.sig>
More information about the U-Boot
mailing list