aboutsummaryrefslogtreecommitdiff
path: root/board/novtech
diff options
context:
space:
mode:
authorPatrick Delaunay2022-09-30 09:36:38 +0200
committerTom Rini2022-10-12 08:55:31 -0400
commiteebb967dce04426b5f4b5f4fda51fbf95dea4c32 (patch)
tree205785156234277f4a69f3bcdd5c54ce273549bd /board/novtech
parent6de1daf64b1acc3d2249ceed34756435a1b13d98 (diff)
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: 8e96801aa6a ("firmware: scmi: add multi-channel support") Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'board/novtech')
0 files changed, 0 insertions, 0 deletions