[alsa-devel] Query about regmap SPI

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Mar 6 13:10:48 CET 2012

On Tue, Mar 06, 2012 at 12:53:51PM +0500, Ashish Chavan wrote:

>   I am planning to add SPI support for da7210 codec driver. SPI for this
> codec has slightly different format than others. It has 8 bit register

Please always CC the relevant mailing lists on postings.  I shouldn't
need to remind you about this stuff.

> Is there any other way to achieve this using regmap? The only other way
> I can think of is providing a wrapper function to read and write in
> codec driver and doing the shifting job inside that wrapper.

No, implementing stuff like this in individual device drivers rather
defeats the point of having frameworks.  It sounds like it should be
trivial to add support for this to regmap.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120306/bef26bff/attachment.sig 

More information about the Alsa-devel mailing list