Re: [PATCH linux-next 1/1] ASoC: rsnd: ssiu: reset SSI_MODE register

From: Kuninori Morimoto
Date: Mon Oct 30 2017 - 04:11:11 EST



Hi Jiada

> > ------------------
> > diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/sh/rcar/ssiu.c
> > index 4d94875..8dc2e92 100644
> > --- a/sound/soc/sh/rcar/ssiu.c
> > +++ b/sound/soc/sh/rcar/ssiu.c
> > @@ -130,14 +130,13 @@ static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod,
> > if (ret < 0)
> > return ret;
> >
> > - if (rsnd_runtime_is_ssi_tdm(io)) {
> > - /*
> > - * TDM Extend Mode
> > - * see
> > - * rsnd_ssi_config_init()
> > - */
> > - rsnd_mod_write(mod, SSI_MODE, 0x1);
> > - }
> > + /*
> > + * TDM Extend Mode
> > + * see
> > + * rsnd_ssi_config_init()
> > + */
> > + rsnd_mod_write(mod, SSI_MODE,
> > + rsnd_runtime_is_ssi_tdm(io) ? 0x1 : 0x0);
>
> Thanks for your suggestion,
> I will do some test for this change,
> if it works fine, I will submit ver2 with it

Thanks

Best regards
---
Kuninori Morimoto