mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 06:46:39 +07:00
ks8842: Remove unnecessary bank select.
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>
This commit is contained in:
parent
cc88e450ad
commit
3038bdb122
@ -199,7 +199,6 @@ static void ks8842_reset(struct ks8842_adapter *adapter)
|
|||||||
msleep(10);
|
msleep(10);
|
||||||
iowrite16(0, adapter->hw_addr + REG_GRR);
|
iowrite16(0, adapter->hw_addr + REG_GRR);
|
||||||
*/
|
*/
|
||||||
iowrite16(32, adapter->hw_addr + REG_SELECT_BANK);
|
|
||||||
iowrite32(0x1, adapter->hw_addr + REG_TIMB_RST);
|
iowrite32(0x1, adapter->hw_addr + REG_TIMB_RST);
|
||||||
msleep(20);
|
msleep(20);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user