1
0
Fork 0
alistair23-linux/sound/soc
Olivier Moysan e22142a9a2 ASoC: cs42l51: manage mclk shutdown delay
[ Upstream commit 20afe581c9 ]

A delay must be introduced before the shutdown down of the mclk,
as stated in CS42L51 datasheet. Otherwise the codec may
produce some noise after the end of DAPM power down sequence.
The delay between DAC and CLOCK_SUPPLY widgets is too short.
Add a delay in mclk shutdown request to manage the shutdown delay
explicitly. From experiments, at least 10ms delay is necessary.
Set delay to 20ms as recommended in Documentation/timers/timers-howto.rst
when using msleep().

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Link: https://lore.kernel.org/r/20201020150109.482-1-olivier.moysan@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-18 19:20:21 +01:00
..
adi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
amd Merge branch 'asoc-5.4' into asoc-next 2019-09-15 10:31:44 +01:00
atmel ASoC: atmel: fix atmel_ssc_set_audio link failure 2020-02-28 17:22:26 +01:00
au1x ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:12:25 +01:00
bcm ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
cirrus ASoC: ep93xx: use devm_platform_ioremap_resource() to simplify code 2019-09-04 13:48:22 +01:00
codecs ASoC: cs42l51: manage mclk shutdown delay 2020-11-18 19:20:21 +01:00
dwc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
fsl ASoC: fsl_sai: Instantiate snd_soc_dai_driver 2020-10-29 09:57:42 +01:00
generic SoC: simple-card-utils: set 0Hz to sysclk when shutdown 2019-09-09 10:51:21 +01:00
hisilicon treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 340 2019-06-05 17:37:07 +02:00
img ASoC: img-i2s-out: Fix runtime PM imbalance on error 2020-10-01 13:18:06 +02:00
intel ASoC: Intel: kbl_rt5663_max98927: Fix kabylake_ssp_fixup function 2020-11-18 19:20:16 +01:00
jz4740 ASoC: jz4740-i2s: Fix divider written at incorrect offset in register 2020-04-13 10:48:09 +02:00
kirkwood ASoC: kirkwood: fix IRQ error handling 2020-10-01 13:17:13 +02:00
mediatek Merge branch 'asoc-5.4' into asoc-next 2019-09-15 10:31:44 +01:00
meson ASoC: meson: axg-toddr: fix channel order on g12 platforms 2020-09-23 12:40:39 +02:00
mxs ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
pxa ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:10:54 +01:00
qcom ASoC: qcom: sdm845: set driver name correctly 2020-11-18 19:20:21 +01:00
rockchip ASoC: rockchip: Fix a reference count leak. 2020-06-30 15:36:57 -04:00
samsung ASoC: samsung: arndale: Add missing OF node dereferencing 2019-09-23 14:14:35 -07:00
sh SoC: rsnd: add interrupt support for SSI BUSIF buffer 2020-06-24 17:50:26 +02:00
sirf ASoC: sirf: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:05:39 +01:00
sof ASoC: SOF: ipc: check ipc return value before data copy 2020-10-01 13:17:37 +02:00
spear ASoC: spear: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:06:18 +01:00
sprd ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
sti ASoC: sti: fix possible sleep-in-atomic 2020-02-05 21:22:46 +00:00
stm ASoC: stm32: spdifrx: fix regmap status check 2020-05-02 08:49:01 +02:00
sunxi ASoC: sun8i-codec: Fix setting DAI data format 2020-02-28 17:22:13 +01:00
tegra ASoC: tegra: Fix reference count leaks. 2020-09-03 11:26:42 +02:00
ti ASoC: ti: omap-mcbsp: Fix an error handling path in 'asoc_mcbsp_probe()' 2020-06-24 17:50:26 +02:00
txx9 Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
uniphier Merge branch 'asoc-5.3' into asoc-5.4 2019-08-20 18:28:43 +01:00
ux500 ASoC: ux500: mop500: Fix some refcounted resources issues 2020-06-24 17:50:26 +02:00
xilinx ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
xtensa ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
zte ASoC: zx-tdm: remove redundant assignment to ts_width on error return path 2019-08-01 13:56:26 +01:00
Kconfig ASoC: remove w90x900/nuc900 platform drivers 2019-08-12 14:00:29 +01:00
Makefile ASoC: remove w90x900/nuc900 platform drivers 2019-08-12 14:00:29 +01:00
soc-ac97.c
soc-acpi.c ASoC: soc-acpi: fix implicit header use of module.h/export.h 2019-05-08 18:06:28 +09:00
soc-component.c ASoC: soc-component: add snd_soc_pcm_component_pcm_free() 2019-08-05 16:27:16 +01:00
soc-compress.c ASoC: core: Move pcm_mutex up to card level from snd_soc_pcm_runtime 2019-08-15 15:07:43 +01:00
soc-core.c ASoC: core: only convert non DPCM link to DPCM link 2020-06-24 17:50:42 +02:00
soc-dai.c ASoC: soc-dai: move snd_soc_dai_stream_valid() to soc-dai.c 2019-07-23 18:14:26 +01:00
soc-dapm.c ASoC: dapm: fixup dapm kcontrol widget 2020-04-29 16:33:18 +02:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: dmaengine: Replace strncpy() with strscpy_pad() for pcm->name 2019-09-11 15:55:28 +01:00
soc-io.c
soc-jack.c ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report 2019-12-17 19:56:14 +01:00
soc-ops.c ASoC: fix regwmask 2020-04-17 10:50:06 +02:00
soc-pcm.c ASoC: dpcm: allow start or stop during pause for backend 2020-04-17 10:50:06 +02:00
soc-topology.c ASoC: topology: fix tlvs in error handling for widget_dmixer 2020-07-29 10:18:45 +02:00
soc-utils.c ASoC: add soc-component.c 2019-08-05 16:16:19 +01:00