[PATCH 4.17 015/220] mtd: spi-nor: intel-spi: Fix atomic sequence handling