diff options
| author | Radhey Shyam Pandey <[email protected]> | 2018-06-13 12:05:17 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-06-14 17:08:03 -0700 |
| commit | 27cad008406600822ab638980412ceea740e7fc8 (patch) | |
| tree | 69d1f269bfeb0d253f4d90e6eee28c90f42736c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | 087fca595a0a30804fd7896e77ba11aa46e5d708 (diff) | |
net: emaclite: Fix MDIO bus unregister bug
Since 'has_mdio' flag is not used,sequence insmod->rmmod-> insmod
leads to failure as MDIO unregister doesn't happen in .remove().
Fix it by checking MII bus pointer instead.
Signed-off-by: Radhey Shyam Pandey <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions