drm/amd/powerplay: precedence bug in init_non_clock_fields()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 4 Jan 2016 20:44:24 +0000 (23:44 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Jan 2016 21:21:44 +0000 (16:21 -0500)
commit7c9574f262a25c7ca0779df31098ba4e0c382e86
tree0b45fa887e37e63cd8480bab4decb213eebe76bd
parentb92c26d1808ccd2acac17b660dce750ba9b0a0db
drm/amd/powerplay: precedence bug in init_non_clock_fields()

The cast to uint8_t happens before the right shift so this always sets
.m3arb to zero.  The cast is actually a no-op so we can remove it.

Fixes: 3bace3591493 ('drm/amd/powerplay: add hardware manager sub-component')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c