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

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Oct 30 09:10:58 CET 2017


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


More information about the Alsa-devel mailing list