tweak spi_transmit_sync