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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux