Re: [PATCH] ad7877: fix spi word size to 16 bit

From: Daniel GlÃckner
Date: Tue May 18 2010 - 05:37:19 EST


On 05/18/2010 01:49 AM, Mike Frysinger wrote:
> the board settings also function as default setup values so when using
> generic things like the spidev driver, there is no kernel driver to
> request the desired bitmode.

spidev allows to set the bits per word with the SPI_IOC_WR_BITS_PER_WORD
ioctl. it is also possible to set this on a per-transfer basis.

Daniel


--
Dipl.-Math. Daniel GlÃckner, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax -11, Bahnhofsallee 1b, 37081 GÃttingen, Germany
Sitz der Gesellschaft: GÃttingen, Amtsgericht GÃttingen HR B 3160
GeschÃftsfÃhrer: Dr. Uwe Kracke, Ust-IdNr.: DE 205 198 055

emlix - your embedded linux partner
--
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/