drm/radeon: fix endian bugs in hw i2c atom routines
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2013 23:34:53 +0000 (19:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 16:10:51 +0000 (09:10 -0700)
commit63fffa36d35fedf0124522b8748a79e6817889e9
tree432188a677672126d906ccd0f3029fc6bebb5546
parente3695a4006bcddfb92e7f04e7bbf9837972d2768
drm/radeon: fix endian bugs in hw i2c atom routines

commit 4543eda52113d1e2cc0e9bf416f79597e6ef1ec7 upstream.

Need to swap the data fetched over i2c properly.  This
is the same fix as the endian fix for aux channel
transactions.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/atombios_dp.c
drivers/gpu/drm/radeon/atombios_i2c.c