diff options
author | Adam Ford <aford173@gmail.com> | 2019-01-15 11:26:48 -0600 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-03-05 19:22:22 +0100 |
commit | 537607df1f2db6baba92d35df93a5df11f829748 (patch) | |
tree | b1c1bc07960d9d4397905bb54ef1785063e1ae20 /include | |
parent | 27bf15c210585cb4d6b3d27c6407b16fd80d7965 (diff) |
net: dm: fec: Fix regulator enable when using DM_REGULATOR
When DM_REGULATOR is enabled, the driver attempts to call
regulator_autoset() which expects the regulators to be on at boot
and/or always on and fails if they are not true.
For a more generic approach, this patch just calls
regulator_set_enable() which shouldn't have such restrictions.
Fixes: ad8c43cbcafb ("net: dm: fec: Support the phy-supply
binding")
Signed-off-by: Adam Ford <aford173@gmail.com>
Tested-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
(cherry picked from commit 8f1a5ac797baac5b40f93eac80a7810f0a771ecf)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions