2013-04-24 11:25:22

by Velykokhatko, Sergey

[permalink] [raw]
Subject: Atmel SPI master doesn't work in 3.9-rc8

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