power/main: Optimize maximum frequency reset

Signed-off-by: cocafe <cocafehj@gmail.com>