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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to