Added demo patch for SPI.
Fixed the patching