mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] skge: disable tranmitter on shutdown
Here is a fix for a typo, thanks Eliot Dresselhaus. Since transmitter not active when device is down, it wasn't really noticed. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
acdd80d514
commit
0eedf4ac5b
1 changed files with 1 additions and 1 deletions
|
|
@ -1819,7 +1819,7 @@ static void yukon_stop(struct skge_port *skge)
|
|||
|
||||
gma_write16(hw, port, GM_GP_CTRL,
|
||||
gma_read16(hw, port, GM_GP_CTRL)
|
||||
& ~(GM_GPCR_RX_ENA|GM_GPCR_RX_ENA));
|
||||
& ~(GM_GPCR_TX_ENA|GM_GPCR_RX_ENA));
|
||||
gma_read16(hw, port, GM_GP_CTRL);
|
||||
|
||||
/* set GPHY Control reset */
|
||||
|
|
|
|||
Loading…
Reference in a new issue