[alsa-devel] [PATCH v2 1/2] regmap: Add support for device specific write and read flag masks.
lrg at ti.com
Tue Sep 6 02:13:10 CEST 2011
On 5 September 2011 22:59, Mark Brown
<broonie at opensource.wolfsonmicro.com>wrote:
> On Mon, Sep 05, 2011 at 08:46:32PM +0200, Lars-Peter Clausen wrote:
> > Some buses like SPI have no standard notation of read or write
> > The general scheme here is to set or clear specific bits in the register
> > address to indicate whether the operation is a read or write. We already
> > support having a read flag mask per bus, but as there is no standard
> > the bits which need to be set or cleared differ between devices and
> > thus we need a mechanism to specify them per device.
> So, I tried to apply this to my topic/interface branch (which is where
> I'm keeping stuff for merge into other trees) but that won't fly due to
> the internal.h change. What I might do to resolve the merge issues is
> to make a commit with the new regmap.h changes alone. This won't help
> in terms of actually running things but it'll keep things buildable
> which is more achievable.
> Anyway, thanks for doing this - there's a bunch of other devices that
> need this.
Acked-by: Liam Girdwood <lrg at ti.com>
More information about the Alsa-devel