Skip to content
Commit f49c35b8 authored by Hayes Wang's avatar Hayes Wang Committed by David S. Miller
Browse files

r8152: replace return with break for ram code speedup mode timeout



When the timeout occurs, we still have to run the following process
for releasing patch request. Otherwise, the PHY would keep no link.
Therefore, use break to stop the loop of loading firmware and
release the patch request rather than return the function directly.

Fixes: 4a51b0e8 ("r8152: support PHY firmware for RTL8156 series")
Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9904e1ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment