On Mon, Jan 13, 2014 at 02:35:18PM +0100, Philippe De Muyter wrote: > On Fri, Jan 10, 2014 at 10:27:45AM +0000, Mark Brown wrote: > > On Wed, Jan 08, 2014 at 11:35:38PM +0100, Philippe De Muyter wrote:
> > > Is there a convenience function similar to spi_write_then_read > > > to handle that case or must I roll my own one in my driver ? > > Try regmap? > Thanks. > Actually it was late in the evening and I was confusing read in > `spi_write_then_read' with read as in 'read a register'. > `spi_write_then_read' should probably better be named `spi_xmit_then_rcv' Well, the main application of the function is actually to implement register I/O.
signature.asc
Description: Digital signature
