[PATCH openEuler-5.10 06/94] mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards