Commit f549b5b3 authored by Alex Deucher's avatar Alex Deucher Committed by Kamal Mostafa

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

commit f6be5e64 upstream.

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=80684Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
[ kamal: backport to 3.13-stable (context) ]
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 7a505a6f
......@@ -123,7 +123,7 @@ static int radeon_process_aux_ch(struct radeon_i2c_chan *chan,
/* flags not zero */
if (args.v1.ucReplyStatus == 2) {
DRM_DEBUG_KMS("dp_aux_ch flags not zero\n");
return -EBUSY;
return -EIO;
}
/* error */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment