diff options
author | Iyappan Subramanian <isubramanian@apm.com> | 2016-07-25 17:12:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-25 21:51:43 -0700 |
commit | bc61167ac816621c94f722177d2ae718c103005f (patch) | |
tree | 7dff7725a564e25c5eac002043a0ba7dd5ba0342 /drivers/net/phy | |
parent | cb0366b7c16427a25923350b69f53a5b1345a34b (diff) | |
download | linux-bc61167ac816621c94f722177d2ae718c103005f.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions