[alsa-devel] [PATCH v3 0/2] ASoC: rsnd: use regmap instead of original register mapping method

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Sep 24 08:10:36 CEST 2013


Hi Mark Brown wrote:

> > For example, SSI device have many ports (0-8),
> > but ADG is only 1 device.
> > On this driver, all devices are using rsnd_write/read() to
> > access register.
> 
> OK, this sounds like the module should have this information - ie check
> something in the module structure rather than asking regmap.

OK, new patch uses only "fields" access by using offset = 0.
then, un-needed rsnd_priv_read/write/bset() are removed by 1st patch.

Kuninori Morimoto (2):
      ASoC: rsnd: remove rsnd_priv_read/write/bset()
      ASoC: rsnd: use regmap instead of original register mapping method

 sound/soc/sh/rcar/adg.c  |   10 ++-
 sound/soc/sh/rcar/core.c |   45 ----------
 sound/soc/sh/rcar/gen.c  |  224 +++++++++++++++++++++++++++++-----------------
 sound/soc/sh/rcar/rsnd.h |    4 -
 4 files changed, 150 insertions(+), 133 deletions(-)


More information about the Alsa-devel mailing list