
Hi Wolfram,
-----Original Message----- From: Wolfram Sang [mailto:w.sang@pengutronix.de] Sent: Monday, August 22, 2011 7:31 PM To: Dong Aisheng-B29396 Cc: alsa-devel@alsa-project.org; linux-arm-kernel@lists.infradead.org; broonie@opensource.wolfsonmicro.com; lrg@ti.com; s.hauer@pengutronix.de Subject: Re: [PATCH 1/2] ASoC: mxs-saif: add record function
On Mon, Aug 22, 2011 at 12:02:25AM +0800, Dong Aisheng wrote:
- add different clkmux mode handling for record.
SAIF can use two instances to implement full duplex (playback & recording) and record saif may work on EXTMASTER mode that is using other saif's BITCLK&LRCLK. The clkmux mode is determined by saif's platform data and machine specific clkmux setting is done in pdata->init(). 2. support playback and capture simutaneously however the sample rates can not be different due to hw limitation.
Signed-off-by: Dong Aisheng b29396@freescale.com Cc: Mark Brown broonie@opensource.wolfsonmicro.com Cc: Liam Girdwood lrg@ti.com Cc: Sascha Hauer s.hauer@pengutronix.de Cc: Wolfram Sang w.sang@pengutronix.de
Will test and review, but probably not before Wednesday.
If you want to test, you may need to apply another sgtl5000 patch to fix noise issue.
BTW, since MX28EVK only has line-in (no mic-in), i just tested by capturing data from line-in and connected the line-in to a PC's Headphone output.
Not sure if there might be some issue due to line-in level is a little different from headphone out level. (Any comments from the person who knows?)
Anyway, it just sounds well at my side.
The patch for your reference: It's just for testing and I'm going to check it with our ic people for the root cause.
Regards Dong Aisheng