drm/radeon: fix non revealent error message
authorJerome Glisse <jglisse@redhat.com>
Tue, 17 Jul 2012 21:17:16 +0000 (17:17 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 2 Aug 2012 13:38:01 +0000 (14:38 +0100)
commit7b38f3bc17d4f8b259d41d2a9646a1a3ad772fd5
tree11ce76a4b196957e7f05aaab2ada431e426d675a
parent12342624d45832c39cd6fc4ad2cc00c17d9d3854
drm/radeon: fix non revealent error message

commit 8d1c702aa0b2c4b22b0742b72a1149d91690674b upstream.

We want to print link status query failed only if it's
an unexepected fail. If we query to see if we need
link training it might be because there is nothing
connected and thus link status query have the right
to fail in that case.

To avoid printing failure when it's expected, move the
failure message to proper place.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/radeon/atombios_dp.c