Yes i rebuild all
if following condition i satisfied
struct spi_ioc_transfer tr = {
.tx_buf = (unsigned long)tx,
//.rx_buf = (unsigned long)rx,
.rx_buf = 0, -----------------------------------> need to do
.len = size,
.delay_usecs = spi_setup->delay,
.speed_hz = spi_setup->speed,
.bits_per_word = spi_setup->bits,
.cs_change = spi_setup->cs_change,
};
This works as only write spi/ but not read