Revision 3b25528e1e355c803e73aa326ce657b5606cda73 authored by Chen-Yu Tsai on 29 August 2019, 03:17:24 UTC, committed by David S. Miller on 30 August 2019, 21:16:26 UTC
The devicetree binding lists the phy phy as optional. As such, the driver should not bail out if it can't find a regulator. Instead it should just skip the remaining regulator related code and continue on normally. Skip the remainder of phy_power_on() if a regulator supply isn't available. This also gets rid of the bogus return code. Fixes: 2e12f536635f ("net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b6b4dc4
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 1.3 KB |
autogroup.c | -rw-r--r-- | 6.4 KB |
autogroup.h | -rw-r--r-- | 1.4 KB |
clock.c | -rw-r--r-- | 12.1 KB |
completion.c | -rw-r--r-- | 10.0 KB |
core.c | -rw-r--r-- | 186.4 KB |
cpuacct.c | -rw-r--r-- | 8.1 KB |
cpudeadline.c | -rw-r--r-- | 5.7 KB |
cpudeadline.h | -rw-r--r-- | 637 bytes |
cpufreq.c | -rw-r--r-- | 2.1 KB |
cpufreq_schedutil.c | -rw-r--r-- | 26.0 KB |
cpupri.c | -rw-r--r-- | 6.5 KB |
cpupri.h | -rw-r--r-- | 610 bytes |
cputime.c | -rw-r--r-- | 22.3 KB |
deadline.c | -rw-r--r-- | 74.5 KB |
debug.c | -rw-r--r-- | 23.2 KB |
fair.c | -rw-r--r-- | 279.8 KB |
features.h | -rw-r--r-- | 2.4 KB |
idle.c | -rw-r--r-- | 10.8 KB |
isolation.c | -rw-r--r-- | 4.6 KB |
loadavg.c | -rw-r--r-- | 11.0 KB |
membarrier.c | -rw-r--r-- | 8.8 KB |
pelt.c | -rw-r--r-- | 10.4 KB |
pelt.h | -rw-r--r-- | 5.0 KB |
psi.c | -rw-r--r-- | 35.3 KB |
rt.c | -rw-r--r-- | 63.5 KB |
sched-pelt.h | -rw-r--r-- | 616 bytes |
sched.h | -rw-r--r-- | 63.2 KB |
stats.c | -rw-r--r-- | 2.9 KB |
stats.h | -rw-r--r-- | 7.5 KB |
stop_task.c | -rw-r--r-- | 3.3 KB |
swait.c | -rw-r--r-- | 3.3 KB |
topology.c | -rw-r--r-- | 55.5 KB |
wait.c | -rw-r--r-- | 12.9 KB |
wait_bit.c | -rw-r--r-- | 6.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...