aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJon Mason <[email protected]>2017-03-02 17:59:56 -0500
committerDavid S. Miller <[email protected]>2017-03-03 09:44:28 -0800
commit16206524f6ea57d6dcd56fe46f9f4a06d4a1b113 (patch)
tree7ef36f943d7e924f12827f8e37e7b68885feac62 /lib/memory-notifier-error-inject.c
parent2ddbcea75a36dac2ff62ee33a0a8df37e994201e (diff)
net: ethernet: bgmac: init sequence bug
Fix a bug in the 'bgmac' driver init sequence that blind writes for init sequence where it should preserve most bits other than the ones it is deliberately manipulating. The code now checks to see if the adapter needs to be brought out of reset (where as before it was doing an IDM write to bring it out of reset regardless of whether it was in reset or not). Also, removed unnecessary usleeps (as there is already a read present to flush the IDM writes). Signed-off-by: Zac Schroff <[email protected]> Signed-off-by: Jon Mason <[email protected]> Fixes: f6a95a24957 ("net: ethernet: bgmac: Add platform device support") Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions