aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2019-11-19 11:25:24 +0000
committerLinus Torvalds <[email protected]>2019-11-19 16:34:15 +0000
commitfd8f64df95204951c3edd4c4a7817c909d55a100 (patch)
tree821691e666991a9f2aac2da71ee514effcfd5a41 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentLinux 5.4-rc8 (diff)
downloadkernel-fd8f64df95204951c3edd4c4a7817c909d55a100.tar.gz
kernel-fd8f64df95204951c3edd4c4a7817c909d55a100.zip
mdio_bus: Fix init if CONFIG_RESET_CONTROLLER=n
Commit 1d4639567d97 ("mdio_bus: Fix PTR_ERR applied after initialization to constant") accidentally changed a check from -ENOTSUPP to -ENOSYS, causing failures if reset controller support is not enabled. E.g. on r7s72100/rskrza1: sh-eth e8203000.ethernet: MDIO init failed: -524 sh-eth: probe of e8203000.ethernet failed with error -524 Seen on r8a7740/armadillo, r7s72100/rskrza1, and r7s9210/rza2mevb. Fixes: 1d4639567d97 ("mdio_bus: Fix PTR_ERR applied after initialization to constant") Signed-off-by: Geert Uytterhoeven <[email protected]> Cc: YueHaibing <[email protected]> Cc: David S. Miller <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions