projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc88e45
)
ks8842: Remove unnecessary bank select.
author
Richard Röjfors
<richard.rojfors@pelagicore.com>
Fri, 9 Jul 2010 06:36:59 +0000
(23:36 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Jul 2010 06:40:20 +0000
(23:40 -0700)
This patch removes an unnecessary bank select before resetting the
controller.
Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ks8842.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ks8842.c
b/drivers/net/ks8842.c
index 5191af2c1fa0fa2d1d77756c7faf70507bc905dc..0be92613acf0550582ed058c3d8a19ad17debc2e 100644
(file)
--- a/
drivers/net/ks8842.c
+++ b/
drivers/net/ks8842.c
@@
-199,7
+199,6
@@
static void ks8842_reset(struct ks8842_adapter *adapter)
msleep(10);
iowrite16(0, adapter->hw_addr + REG_GRR);
*/
- iowrite16(32, adapter->hw_addr + REG_SELECT_BANK);
iowrite32(0x1, adapter->hw_addr + REG_TIMB_RST);
msleep(20);
}