[PATCH 5.10 072/152] staging: spmi: hisi-spmi-controller: Fix some error handling paths