Fix SPI clock config problem