From: Zidan Wang Date: Mon, 11 May 2015 10:24:41 +0000 (+0800) Subject: ASoC: fsl_sai: add sai master mode support X-Git-Tag: omap-for-v4.3/legacy-v2-signed~142^2~38^2~7^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3ecef21c3f26bf4737fc0887964127accfa8a0e;p=pandora-kernel.git ASoC: fsl_sai: add sai master mode support When sai works on master mode, set its bit clock and frame clock. SAI has 4 MCLK source, bus clock, MCLK1, MCLK2 and MCLK3. fsl_sai_set_bclk will select proper MCLK source, then calculate and set the bit clock divider. After fsl_sai_set_bclk, enable the selected mclk in hw_params(), and add hw_free() to disable the mclk. Signed-off-by: Zidan Wang Signed-off-by: Mark Brown --- Reading git-diff-tree failed