]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fec_mxc: Avoid enable regulator failure
authorYe Li <ye.li@nxp.com>
Thu, 28 Mar 2024 10:57:59 +0000 (18:57 +0800)
committerFabio Estevam <festevam@gmail.com>
Sat, 30 Mar 2024 18:12:00 +0000 (15:12 -0300)
commit9dc7d5270beb4be24395deefd52f245441780959
tree970ec8a63ddb494ba38ebce86ef28624976f0225
parent6cd789c7fd6274b28432caa145e4c857de04c016
net: fec_mxc: Avoid enable regulator failure

Change to regulator_set_enable_if_allowed to avoid enable failure,
in case same phy supply shared by multiple FEC controllers.

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/net/fec_mxc.c