]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[ALSA] cs4270: wrong sample rate when CONFIG_SND_SOC_CS4270_VD33_ERRATA is set
authorTimur Tabi <timur@freescale.com>
Tue, 18 Dec 2007 14:42:53 +0000 (15:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:42 +0000 (17:29 +0100)
commit8432395fd9124aa9408f61c94aa743878b4ddaf9
tree9718763653e59c6b1bd86d8a62d927627009e748
parentb7d2a8035a382ad268aba8c0612797b4f2625f61
[ALSA] cs4270: wrong sample rate when CONFIG_SND_SOC_CS4270_VD33_ERRATA is set

When CONFIG_SND_SOC_CS4270_VD33_ERRATA is set, there was a mismatch between
the mclk_ratios[] and cs4270_mode_ratios[] arrays.  The two arrays have been
merged and code has been shuffled.  One side effect is that the
cs4270_set_dai_sysclk() and cs4270_set_dai_fmt() functions are available only
if I2C has been enabled.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/cs4270.c