diff options
author | Iyappan Subramanian <isubramanian@apm.com> | 2016-07-26 02:12:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-26 06:51:43 +0200 |
commit | bc61167ac816621c94f722177d2ae718c103005f (patch) | |
tree | 7dff7725a564e25c5eac002043a0ba7dd5ba0342 /drivers/net/phy/mdio-xgene.c | |
parent | drivers: net: xgene: Fix module unload crash - change sw sequence (diff) | |
download | linux-bc61167ac816621c94f722177d2ae718c103005f.tar.xz linux-bc61167ac816621c94f722177d2ae718c103005f.zip |
drivers: net: xgene: Fix module unload crash - clkrst sequence
This patch fixes clock reset sequence.
- Added clock reset sequence for ACPI
- Added delay in clock reset sequence to make sure pulse is generated
- Added clk_unprepare_disable() in port shutdown to make sure
clock increment/decrement counts are matching
- Removed MII_MGMT_CONFIG programming, since it is not required
- Fixed programming XGENET_CONFIG_REG to enable SGMII mode
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Tested-by: Fushen Chen <fchen@apm.com>
Tested-by: Toan Le <toanle@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-xgene.c')
0 files changed, 0 insertions, 0 deletions