[PATCH 02/48] mtd: cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer