properly disable spi