[alsa-devel] [PATCH] ASoC: rt5677: Use specific r/w function for DSP mode

Mark Brown broonie at kernel.org
Fri Oct 31 18:52:26 CET 2014


On Wed, Oct 29, 2014 at 01:44:57AM +0000, Oder Chiou wrote:

> > This looks like standard regmap stuff - what's different?

> They are not different with regmap stuff, but they are called by
> rt5677_dsp_mode_i2c_write_addr(), rt5677_dsp_mode_i2c_read_addr(),
> rt5677_read() and rt5677_write().

> The customize access function is implemented by rt5677_read() and
> rt5677_write() that are assigned to regmap_config "rt5677_regmap" for using
> between codec mode or DSP mode.

Sorry, I'm not quite following what you're saying here - if you're
saying that they're slightly different to the main register map I/O for
this device then it's OK to create two regmaps and only access the DSP
one through separate functions.
-------------- 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/20141031/5ce0880c/attachment.sig>


More information about the Alsa-devel mailing list