updated patch with last change to spi

Corrects the issue with the chip select line not toggling at the correct
time.