Atmel SPI master doesn't work in 3.9-rc8

From: Velykokhatko, Sergey
Date: Wed Apr 24 2013 - 07:25:26 EST


Hi Nicolas,

I just tried 3.9-rc8 with my board. SPI doesn't work, since in spi.c in __spi_async() was inserted new checking that initiate now xfer->speed_hz:
if (!xfer->speed_hz)
xfer->speed_hz = spi->max_speed_hz;


And in atmel-spi.c there are another checking that allows SPI work only for speed_hz == 0:

/* FIXME implement these protocol options!! */
if (xfer->speed_hz) {
dev_dbg(&spi->dev, "no protocol options yet\n");
return -ENOPROTOOPT;
}


Best regards,
Sergey

--
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/