[PATCH 5.10 245/379] PM: sleep: Fix error handling in dpm_prepare()