> + if (ifx_dev->is_6160)> + spi->max_speed_hz = 12500000;> + else> + spi->max_speed_hz = 25000000;This should be coming directly from the platform data, ditto I suspectwiring the DMA to is_6160 should probably be a platform "use_dma"field ?