From: Dong Aisheng Date: Wed, 7 Sep 2011 12:51:50 +0000 (+0800) Subject: ASoC: mxs-saif: add record function X-Git-Tag: v3.3-rc1~14^2~726 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76067540c642b1a14679ab74bd027a074c23e63b;p=pandora-kernel.git ASoC: mxs-saif: add record function 1. add different clkmux mode handling SAIF can use two instances to implement full duplex (playback & recording) and record saif may work on EXTMASTER mode which is using other saif's BITCLK&LRCLK. The clkmux mode could be set in pdata->init() in mach-specific code. For generic saif driver, it only needs to know who is his master and the master id is also provided in mach-specific code. 2. support playback and capture simutaneously however the sample rates can not be different due to hw limitation. Signed-off-by: Dong Aisheng Acked-by: Wolfram Sang Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed