From: Zubair Lutfullah Kakakhel Date: Tue, 3 Feb 2015 10:55:57 +0000 (+0000) Subject: ASoC: jz4740: Add dynamic sampling rate support to jz4740-i2s X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~13^2~6^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26b0aad80a86d39b8c3a3189fbaf477ef92a64ff;p=pandora-kernel.git ASoC: jz4740: Add dynamic sampling rate support to jz4740-i2s The div clock register is not modified during jz4740_i2s_hw_params. Hence, default sampling rates are actually used regardless of sampling rates input from userspace. This patch adds support to calculate the value of the divider from the parameters passed from userspace and update the relevant div registers Signed-off-by: Zubair Lutfullah Kakakhel Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed