summaryrefslogtreecommitdiff
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2026-04-27 09:01:48 +0800
committerFrank Li <Frank.Li@nxp.com>2026-05-07 11:45:36 -0400
commit2c6821657ce3b3c85f92719ea81ec9f9ff27df11 (patch)
tree249b0dacc1bf399fb672473f333334a8a703fda5 /ipc/msgutil.c
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
soc: imx8m: Fix match data lookup for soc device
The i.MX8M soc device is registered via platform_device_register_simple(), so it is not associated with a Device Tree node and the imx8m_soc_driver has no of_match_table. As a result, device_get_match_data() always returns NULL when probing the soc device. Retrieve the match data directly from the machine compatible using of_machine_get_match_data(imx8_soc_match), which provides the correct SoC data. Fixes: 2524b293a59e5 ("soc: imx8m: don't access of_root directly") Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions