Re: [PATCH 2/2] ASoC: fsl_ssi: Add monaural audio support for non-ac97 interface

2013-11-15 Thread Nicolin Chen
On Fri, Nov 15, 2013 at 12:21:08PM +, Russell King - ARM Linux wrote: > > @@ -517,10 +517,12 @@ static int fsl_ssi_hw_params(struct snd_pcm_substream > > *substream, > > { > > struct fsl_ssi_private *ssi_private = snd_soc_dai_get_drvdata(cpu_dai); > > struct ccsr_ssi __iomem *ssi = ss

Re: [PATCH 2/2] ASoC: fsl_ssi: Add monaural audio support for non-ac97 interface

2013-11-15 Thread Russell King - ARM Linux
On Thu, Nov 14, 2013 at 07:07:10PM +0800, Nicolin Chen wrote: > The normal mode of SSI allows it to send/receive data to/from the first > slot of each period. So we can use this normal mode to trick I2S signal > by puting/getting data to/from the first slot only (the left channel) > so as to suppor

[PATCH 2/2] ASoC: fsl_ssi: Add monaural audio support for non-ac97 interface

2013-11-14 Thread Nicolin Chen
The normal mode of SSI allows it to send/receive data to/from the first slot of each period. So we can use this normal mode to trick I2S signal by puting/getting data to/from the first slot only (the left channel) so as to support monaural audio playback and recording. Signed-off-by: Nicolin Chen