Fixed spi driver, untested but should work.