OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:30:38 +0000 (16:30 -0400)
commit4543eda52113d1e2cc0e9bf416f79597e6ef1ec7
tree16ea2493eb505eaedd2c933348a1440d5e82aa7d
parent1bd4cff651350380f9fb6847313cb78e84c03846
drm/radeon: fix endian bugs in hw i2c atom routines

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_dp.c
drivers/gpu/drm/radeon/atombios_i2c.c