summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-abe-twl6040.c
diff options
context:
space:
mode:
authorNicolin Chen2014-04-04 09:09:47 +0200
committerMark Brown2014-04-08 13:49:55 +0200
commitef33bc3217c7aa9868f497c4f797cc50ad3ce357 (patch)
tree4ff0dc41289efc0ebd06aa984555f1b20624bae8 /sound/soc/omap/omap-abe-twl6040.c
parentASoC: fsl_sai: Add isr to deal with error flag (diff)
downloadkernel-qcow2-linux-ef33bc3217c7aa9868f497c4f797cc50ad3ce357.tar.gz
kernel-qcow2-linux-ef33bc3217c7aa9868f497c4f797cc50ad3ce357.tar.xz
kernel-qcow2-linux-ef33bc3217c7aa9868f497c4f797cc50ad3ce357.zip
ASoC: fsl_sai: Fix Bit Clock Polarity configurations
The BCP bit in TCR4/RCR4 register rules as followings: 0 Bit clock is active high with drive outputs on rising edge and sample inputs on falling edge. 1 Bit clock is active low with drive outputs on falling edge and sample inputs on rising edge. For all formats currently supported in the fsl_sai driver, they're exactly sending data on the falling edge and sampling on the rising edge. However, the driver clears this BCP bit for all of them which results click noise when working with SGTL5000 and big noise with WM8962. Thus this patch corrects the BCP settings for all the formats here to fix the nosie issue. Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> Acked-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/omap/omap-abe-twl6040.c')
0 files changed, 0 insertions, 0 deletions