This fixes a warning on big endian. Bitfields need to
be handled properly.
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
int result;
memory_clock_parameters.asDPMMCReg.ulClock.ulClockFreq =
- cpu_to_le32(memory_clock & SET_CLOCK_FREQ_MASK);
+ memory_clock & SET_CLOCK_FREQ_MASK;
memory_clock_parameters.asDPMMCReg.ulClock.ulComputeClockFlag =
- cpu_to_le32(ADJUST_MC_SETTING_PARAM);
+ ADJUST_MC_SETTING_PARAM;
memory_clock_parameters.asDPMMCReg.ucMclkDPMState = level;
result = cgs_atom_exec_cmd_table