_mali_osk_errcode_t mali_platform_deinit() { deinit_mali_clock(); #if MALI_DVFS_ENABLED deinit_mali_dvfs_status(); if (clk_register_map ) { _mali_osk_mem_unmapioregion(CLK_DIV_STAT_G3D, 0x20, clk_register_map); clk_register_map=0; } #endif MALI_SUCCESS; }
_mali_osk_errcode_t mali_platform_deinit() { deinit_mali_clock(); #if MALI_VOLTAGE_LOCK _mali_osk_atomic_term(&voltage_lock_status); #endif #if MALI_DVFS_ENABLED deinit_mali_dvfs_status(); if (clk_register_map ) { _mali_osk_mem_unmapioregion(CLK_DIV_STAT_G3D, 0x20, clk_register_map); clk_register_map=0; } #endif MALI_SUCCESS; }