ASoC: wm8523: Set bclk ratio for master mode
authorJulian Scheel <julian@jusst.de>
Fri, 12 Jun 2015 13:57:32 +0000 (15:57 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2015 16:16:57 +0000 (17:16 +0100)
commitef5294fd250adc8c340ffeb410b62e1b777ddf6f
treee03b77e9163d9c9995d62babf4edea8d90a54e1a
parentb787f68c36d49bb1d9236f403813641efa74a031
ASoC: wm8523: Set bclk ratio for master mode

When running in master mode the bclk divider must be configured to generate a
sane bitclock. Pick the smallest fs multiplicator, which can hold all
transmitted bits.

Signed-off-by: Julian Scheel <julian@jusst.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8523.c