From: Shengjiu Wang Date: Fri, 8 Aug 2014 06:47:21 +0000 (+0800) Subject: ASoC: fsl_esai: refine esai for TDM support X-Git-Tag: fixes-against-v3.18-rc2~128^2~8^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d177143c3670aa57ee08c73880beb55ee9d8ab7c;p=pandora-kernel.git ASoC: fsl_esai: refine esai for TDM support Original driver didn't store the number of slots, just fix the slot number to 2, use this default number to calculate bclk and pins for TX/RX. In this patch, add one parameter for slots, and update the calculation of bclk and pins of TX/RX. Then driver will be compatible with slots > 2 in TDM mode. Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen Signed-off-by: Mark Brown --- Reading git-diff-tree failed