Messages in this thread | | | Date | Mon, 23 Sep 2013 23:10:36 -0700 (PDT) | From | Kuninori Morimoto <> | Subject | Re: [PATCH v3 0/2] ASoC: rsnd: use regmap instead of original register mapping method |
| |
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(-)
| |