Updated SPI driver flush