ASoC: max98926: Fix blr_clk_ratio calculation
authorAxel Lin <axel.lin@ingics.com>
Wed, 17 Feb 2016 00:46:07 +0000 (08:46 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 17 Feb 2016 13:11:27 +0000 (13:11 +0000)
commitcffee535f0b09ab0801cbec01a8ae81595aa99bc
treebd86d5ecd64979a0db3a8b3e2af191fb596f6814
parenta2e2876aa0bab5939daf1cb20ef07ebf38744c1f
ASoC: max98926: Fix blr_clk_ratio calculation

Current code calculates blr_clk_ratio before setting max98926->ch_size, fix
it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: anish kumar <yesanishhere@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98926.c