Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon/dp: return -EIO for flags not zero case

If there are error flags in the aux transaction return
-EIO rather than -EBUSY. -EIO restarts the whole transaction
while -EBUSY jus retries. Fixes problematic aux transfers.

Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=80684

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org

+1 -1
+1 -1
drivers/gpu/drm/radeon/atombios_dp.c
··· 127 127 /* flags not zero */ 128 128 if (args.v1.ucReplyStatus == 2) { 129 129 DRM_DEBUG_KMS("dp_aux_ch flags not zero\n"); 130 - r = -EBUSY; 130 + r = -EIO; 131 131 goto done; 132 132 } 133 133