[PATCH 5.12 185/677] mtd: parsers: qcom: Fix error condition