drm/radeon/dpm: cleanup a type issue with rv6xx_clocks_per_unit()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Jul 2013 06:22:55 +0000 (09:22 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Nov 2013 16:43:16 +0000 (12:43 -0400)
commit43e917251aa50e3ff4b19c24f9fe965e4055e389
treeffba504ad31e2530efa92ef1a52e21ced494e6fd
parent5c7227391328ea1910336fc7b612821a70c51144
drm/radeon/dpm: cleanup a type issue with rv6xx_clocks_per_unit()

The rv6xx_clocks_per_unit() function pretends it can set flags in a u64
bitfield but really because "1" is an int it doesn't work for more than
32 bits.  The only caller truncates the high bits away anyway.  I've
just changed it to be a u32.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/rv6xx_dpm.c