Re: [PATCH 4/7] serial: ifx6x60: set SPI max_speed_hz based onplatform type

From: Alan Cox
Date: Wed Jan 05 2011 - 19:51:27 EST


> + 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 suspect
wiring the DMA to is_6160 should probably be a platform "use_dma"
field ?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/