From: Jyri Sarha Date: Wed, 3 Sep 2014 12:52:33 +0000 (+0300) Subject: ASoC: tlv320aic31xx: Fix 24bit samples with I2S format and 12MHz mclk X-Git-Tag: fixes-for-v3.18-merge-window~108^2^2^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03be88ee4ab3acceddca43f11f4d01bcd6edcb93;p=pandora-kernel.git ASoC: tlv320aic31xx: Fix 24bit samples with I2S format and 12MHz mclk I2S format requires bitclock to have an exact amount of cycles in a frame for audio to work cleanly. With dsp formats that is not so important. Updates aic31xx_setup_pll() to look for a line in aic31xx_divs table that produces the best match for the bitclock and adds lines to aic31xx_divs for 12MHz mclk and 24bit samples. Signed-off-by: Jyri Sarha Tested-by: Peter Ujfalusi Signed-off-by: Mark Brown --- Reading git-diff-tree failed