drm/radeon/dp: check for errors in dpcd reads
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 30 Apr 2014 13:27:15 +0000 (09:27 -0400)
committerChristian König <christian.koenig@amd.com>
Thu, 1 May 2014 10:28:09 +0000 (12:28 +0200)
commitaa019b791a3e138ca0eaa38e72b4ea97d482a7bc
treec410500d6aae5314a2be50196d1e9efb687144a8
parent3b333c55485fef0089ae7398906599d000df195e
drm/radeon/dp: check for errors in dpcd reads

Check to make sure the transaction succeeded before
using the register value.  Fixes occasional link training
problems.

Noticed-by: Sergei Antonov <saproj@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/atombios_dp.c