diff options
| author | David Bauer <[email protected]> | 2019-11-22 22:44:51 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-11-25 10:43:40 -0800 |
| commit | 32085f25d7b68404055f3525c780142fc72e543f (patch) | |
| tree | a87d4b58580b71cf638eb0cc586c3db7a03f691b /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | 312434617cb16be5166316cf9d08ba760b1042a1 (diff) | |
mdio_bus: don't use managed reset-controller
Geert Uytterhoeven reported that using devm_reset_controller_get leads
to a WARNING when probing a reset-controlled PHY. This is because the
device devm_reset_controller_get gets supplied is not actually the
one being probed.
Acquire an unmanaged reset-control as well as free the reset_control on
unregister to fix this.
Reported-by: Geert Uytterhoeven <[email protected]>
CC: Andrew Lunn <[email protected]>
Signed-off-by: David Bauer <[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_pm.c')
0 files changed, 0 insertions, 0 deletions