Trying to use spidev to send an spi message, result from spidev_test.c Illegal argument . (i.mx23, kernel 3.7)

2012-12-30 Thread Juha Lumme
Hi, I am having issues communicating with a micro controller connected to SPI bus, using spidev. I would like to send messages to my MSP430 from user land, but so far no luck. At least I know that my SPI bus should be ok, since in the same bus I have a SPI flash chip that works. In my DTS I

[PATCH] mxs: spi: clear XFER_LEN in CTRL0 register during DMA

2012-12-25 Thread Juha Lumme
, by clearing the XFER_LEN bytes always before reading the new size for XFER_LEN. Cc: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Shawn Guo shawn@linaro.org Signed-off-by: Juha Lumme juha.lu...@gmail.com --- drivers/spi/spi-mxs.c |5 - 1 file changed, 4

[PATCH V2] mxs: spi: clear XFER_COUNT in ctrl0 field in DMA descriptor

2012-12-25 Thread Juha Lumme
@linaro.org Signed-off-by: Juha Lumme juha.lu...@gmail.com Acked-by: Marek Vasut ma...@denx.de --- drivers/spi/spi-mxs.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Changelog, v2: changed the description of the patch, to better describe the patch diff --git a/drivers/spi