]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/radeon: fix non revealent error message
authorJerome Glisse <jglisse@redhat.com>
Tue, 17 Jul 2012 21:17:16 +0000 (17:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:27:50 +0000 (08:27 -0700)
commitea07d57bea33b7004d1773db115bf62bb7788c99
tree5a8acf7d344637997deb55160747db04d1342a61
parent4826f249d0b09bb6d8969277b43df9ffc3bccfe5
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/atombios_dp.c