ASOC: Samsung: Change MAX98095 MCLK input clk
authorPadmavathi Venna <padma.v@samsung.com>
Thu, 16 Aug 2012 11:35:25 +0000 (17:05 +0530)
committerGerrit <chrome-bot@google.com>
Fri, 17 Aug 2012 17:37:10 +0000 (10:37 -0700)
commitd5ecd68a4df21c45da5a0075817eb5dfbb1e8747
treec5223fb7bbe6dc3dcdf016611a2917aeebc54dfe
parentec9f795772dc42bbe3e79ea676adc109ab95a058
ASOC: Samsung: Change MAX98095 MCLK input clk

This patch configures the codec system clock with xclkout.
with out this patch there is a error while playing 8,22.05,
32KHz sampling rate files. The error was

max98095 7-0011: Invalid master clock frequency
[ 46.194905] asoc: machine hw_params failed: -22
Stream error -22

BUG=chrome-os-partner:12733
TEST=Tested with all supported sampling frequencys in cramfs.
All are playing fine except 8KHz and 32KHz are playing with
some error messages like below

[ 1262.417869] exynos5_epll_set_rate: Invalid Clock EPLL Frequency
[ 1262.417885] failed to clk_set_rate of fout_epll for audio

Change-Id: I5891ac9bbae1eeb6befb6992699e59e3e8977c24
Signed-off-by: R. Chandrasekar <rcsekar@samsung.com>
Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/30538
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Ready: Doug Anderson <dianders@chromium.org>
sound/soc/samsung/daisy_max98095.c