diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-06-26 21:06:45 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-02 04:10:16 +0400 |
commit | 412bce83ac786197d0b2805c5bcded4d95cdeeb0 (patch) | |
tree | 6300d68bba76b7a91fc0d63137f4d4dea30c1e49 /Documentation/backlight | |
parent | 3b140a678834f55602e50e7d6a47663e230434a7 (diff) | |
download | linux-412bce83ac786197d0b2805c5bcded4d95cdeeb0.tar.xz |
net: systemport: fix UniMAC reset logic
The UniMAC CMD_SW_RESET bit is not a self-clearing bit, so we need to
assert it, wait a bit and clear it manually. As a result, umac_reset()
is updated not to return any value. The previous version of the code
simply wrote 0 to the CMD register, which would make the busy-waiting
loop exit immediately, having zero effect.
By writing 0 to the CMD register, we were clearing all bits in the CMD
register, and not using the hardware reset default values which are
set on purpose.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/backlight')
0 files changed, 0 insertions, 0 deletions