powersuspend: Fix errors