]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/dpm: fix incompatible casting on big endian
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Oct 2013 20:13:42 +0000 (16:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Oct 2013 20:25:18 +0000 (16:25 -0400)
commit966ce6927cf95ba45deea4eb4e04d07359f5f019
tree9ce8ecf12c509ae70e0158ce96bc147e900a276b
parent21bd5ee247f75dbad34748c94e5ffd2eb299cda3
drm/radeon/dpm: fix incompatible casting on big endian

We use u16 for voltage values throughout the driver so switch
the table values to a u16 as well.  Fixes an incompatible
cast error in ci_patch_clock_voltage_limits_with_vddc_leakage()
picked up by coverity.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h