Skip to content
Commit c2d14682 authored by Pengfei Li's avatar Pengfei Li Committed by Greg Kroah-Hartman
Browse files

pmdomain: imx: Make imx pgc power domain also set the fwnode



[ Upstream commit 374de39d ]

Currently, The imx pgc power domain doesn't set the fwnode
pointer, which results in supply regulator device can't get
consumer imx pgc power domain device from fwnode when creating
a link.

This causes the driver core to instead try to create a link
between the parent gpc device of imx pgc power domain device and
supply regulator device. However, at this point, the gpc device
has already been bound, and the link creation will fail. So adding
the fwnode pointer to the imx pgc power domain device will fix
this issue.

Signed-off-by: default avatarPengfei Li <pengfei.li_1@nxp.com>
Tested-by: default avatarEmil Kronborg <emil.kronborg@protonmail.com>
Fixes: 3fb16866 ("driver core: fw_devlink: Make cycle detection more robust")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20231020185949.537083-1-pengfei.li_1@nxp.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8bd370cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment