[alsa-devel] [PATCH 0/2] ASoC: davinci-mcasp: Improved suspend/resume support

Mark Brown broonie at kernel.org
Thu Oct 2 12:56:52 CEST 2014


On Thu, Oct 02, 2014 at 10:21:31AM +0300, Peter Ujfalusi wrote:
> On 10/01/2014 07:02 PM, Mark Brown wrote:

> > Applied both, thanks.  Might be worth converting to regmap and using the
> > cache code?

> Yes, it is in my to-do list. One thing I'm a bit puzzled currently is on how
> to handle the serializer registers. Depending on the SoC the McASP is
> integrated in we can have different number of serializers, also in some SoC
> different McASP ports have different number of serializers. I do not want to
> have separate regmap struct for all of these (which would most probably means
> different compatible flag in DT). I also want to avoid wiring in some max
> limit of the serializer registers. But probably I need to do this at the end.

This sort of thing is why the access stuff is done with functions and
get the device passed in, though max_register is still just a number.
I don't know if that'll particularly help or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141002/1ca88447/attachment.sig>


More information about the Alsa-devel mailing list