linux/sound/soc/fsl
Caleb Crome 4ee437fbf6 ASoC: fsl_ssi: set fifo watermark to more reliable value
The fsl_ssi fifo watermark is by default set to 2 free spaces (i.e.
activate DMA on FIFO when only 2 spaces are left.)  This means the
DMA must service the fifo within 2 audio samples, which is just not
enough time  for many use cases with high data rate.  In many
configurations the audio channel slips (causing l/r swap in stereo
configurations, or channel slipping in multi-channel configurations).

This patch gives more breathing room and allows the SSI to operate
reliably by changing the fifio refill watermark to 8.

There is no change in behavior for older chips (with an 8-deep fifo).
Only the newer chips with a 15-deep fifo get the new behavior. I
suspect a new fifo depth setting could be optimized on the older
chips too, but I have not tested.

Signed-off-by: Caleb Crome <caleb@crome.org>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-01-04 18:27:17 +00:00
..
efika-audio-fabric.c ASoC: stac9766: Move register defines to main source file 2016-11-04 11:43:05 -06:00
eukrea-tlv320.c ASoC: fsl: fix typos for sound/soc/fsl/* 2015-08-12 13:36:58 +01:00
fsl_asrc_dma.c ASoC: constify snd_pcm_ops structures 2016-09-12 20:04:09 +01:00
fsl_asrc.c ASoC: fsl_asrc: use flat regmap cache 2016-09-20 18:55:08 +01:00
fsl_asrc.h ASoC: fsl_asrc: sound is wrong after suspend/resume 2016-01-05 13:19:11 +00:00
fsl_dma.c ASoC: fsl: fsl_dma: Use true/false for boolean init 2015-05-11 16:13:36 +01:00
fsl_dma.h
fsl_esai.c ASoC: fsl_esai: use flat regmap cache 2016-09-20 18:55:22 +01:00
fsl_esai.h ASoC: fsl_esai: Fix incorrect xDC field width of xCCR registers 2014-12-30 11:29:19 +00:00
fsl_sai.c ASoC: fsl_sai: Use 'np' variable 2016-08-17 11:50:51 +01:00
fsl_sai.h ASoC: fsl_sai: add tdm slots operation support 2015-11-25 12:03:30 +00:00
fsl_spdif.c ASoC: fsl_spdif: use flat regmap cache 2016-09-20 18:55:28 +01:00
fsl_spdif.h ASoC: fsl_spdif: Add support for output sample rates 96kHz and 192kHz 2014-06-17 15:36:54 +01:00
fsl_ssi_dbg.c ASoC: fsl-ssi: Move debugging to seperate file 2014-05-20 23:02:26 +01:00
fsl_ssi.c ASoC: fsl_ssi: set fifo watermark to more reliable value 2017-01-04 18:27:17 +00:00
fsl_ssi.h ASoC: fsl-ssi: Use regmap 2014-06-01 11:55:08 +01:00
fsl_utils.c ASoC: fsl: Remove fsl_asoc_xlate_tdm_slot_mask() 2015-01-14 19:04:56 +00:00
fsl_utils.h ASoC: fsl: Remove fsl_asoc_xlate_tdm_slot_mask() 2015-01-14 19:04:56 +00:00
fsl-asoc-card.c ASoC: constify snd_soc_ops structures 2016-10-24 18:34:55 +01:00
imx-audmux.c ASoC: fsl: Constify platform_device_id 2015-05-01 17:51:43 +01:00
imx-audmux.h ASoC: imx-audmux: Move definitions to dt-bindings 2013-08-16 11:05:17 +01:00
imx-es8328.c ASoC: imx-es8328: Register jacks at the card level 2015-03-04 17:09:52 +00:00
imx-mc13783.c ASoC: fsl: imx-mc13783: Simplify trivial if-return sequence 2015-05-11 16:13:45 +01:00
imx-pcm-dma.c ASoC: imx-pcm-dma: add NULL test 2015-12-23 00:01:53 +00:00
imx-pcm-fiq.c ASoC: fsl: imx-pcm-fiq: use correct format specifier 2016-04-13 06:39:11 +01:00
imx-pcm.h ASoC: fsl: Add dedicated DMA buffer size for each cpu dai 2015-07-07 13:16:12 +01:00
imx-sgtl5000.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
imx-spdif.c ASoC: imx-spdif: Fix crash on suspend 2016-01-27 11:30:02 +00:00
imx-ssi.c ASoC: imx-ssi: Fix DAI hardware signal inversions 2015-09-29 17:28:33 +01:00
imx-ssi.h ASoC: fsl: imx-ssi: omit ssi counter to avoid harm in unbalanced situation 2013-12-02 11:57:02 +00:00
imx-wm8962.c ASoC: constify snd_soc_ops structures 2016-10-24 18:34:55 +01:00
Kconfig ASoC: fsl: fix fsl_spdif.c build errors 2016-11-09 14:44:43 +00:00
Makefile ASoC: fsl: add imx-es8328 machine driver 2014-08-16 17:18:07 -05:00
mpc5200_dma.c ASoC: mpc5200_dma: Don't overwrite ac97 device private_data 2014-11-18 15:26:05 +00:00
mpc5200_dma.h ASoC: fsl: mpc5200 combine psc_dma platform data 2012-09-18 23:03:42 -04:00
mpc5200_psc_ac97.c ASoC: fsl-mpc5200: Use usleep_range() instead of msleep() 2016-01-22 16:48:34 +00:00
mpc5200_psc_ac97.h
mpc5200_psc_i2s.c ASoC: fsl: constify of_device_id array 2015-03-22 18:02:56 +00:00
mpc8610_hpcd.c ASoC: twl6040, fsl: use to_platform_device 2015-12-24 19:42:42 +00:00
mx27vis-aic32x4.c ASoC: mx27vis-aci32x4: Use static DAI format setup 2015-01-06 17:34:27 +00:00
p1022_ds.c ASoC: twl6040, fsl: use to_platform_device 2015-12-24 19:42:42 +00:00
p1022_rdk.c ASoC: twl6040, fsl: use to_platform_device 2015-12-24 19:42:42 +00:00
pcm030-audio-fabric.c ASoC: fsl: constify of_device_id array 2015-03-22 18:02:56 +00:00
phycore-ac97.c ASoC: fsl: remove use of imx-fiq-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00
wm1133-ev1.c ASoC: wm1133-ev1: Use card DAPM context to access widgets 2015-04-12 12:42:34 +01:00