linux-stable/sound/soc
Robert Hancock c47aef899c
ASoC: xilinx: xlnx_i2s: Handle sysclk setting
This driver previously only handled the set_clkdiv divider callback when
setting the SCLK Out Divider field in the I2S Timing Control register.
However, when using the simple-audio-card driver, the set_sysclk function
is called but not set_clkdiv. This caused the divider not to be set,
leaving it at an invalid value of 0 and resulting in a very low SCLK
output rate.

Handle set_clkdiv and store the sysclk (MCLK) value for later use in
hw_params to set the SCLK Out Divider such that:
MCLK/SCLK = divider * 2

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Link: https://lore.kernel.org/r/20220120195832.1742271-4-robert.hancock@calian.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-01-24 19:45:38 +00:00
..
adi
amd ASoC: amd: acp: acp-mach: Change default RT1019 amp dev id 2022-01-06 16:18:54 +00:00
atmel ASoC: ateml: Use dev_err_probe() helper 2021-12-20 12:47:12 +00:00
au1x
bcm ASoC: bcm: Use platform_get_irq() to get the interrupt 2021-12-21 18:05:43 +00:00
cirrus
codecs Merge existing fixes from asoc/for-5.17 into new branch 2022-01-24 13:30:47 +00:00
dwc
fsl ASoC: imx-card: several improvement and fixes 2022-01-06 20:26:24 +00:00
generic ASoC: simple-card: fix probe failure on platform component 2022-01-11 13:45:28 +00:00
hisilicon
img ASoC: img: Use dev_err_probe() helper 2021-12-20 12:47:16 +00:00
intel ASoC: Updates for v5.17 2022-01-10 14:33:42 +01:00
jz4740
kirkwood
mediatek ASoC: mediatek: fix unmet dependency on GPIOLIB for SND_SOC_DMIC 2022-01-19 16:47:37 +00:00
meson ASoC: Merge fixes 2021-12-31 13:23:28 +00:00
mxs ASoC: mxs: Use dev_err_probe() helper 2021-12-20 12:47:18 +00:00
pxa
qcom ASoC: Merge fixes 2021-12-31 13:23:28 +00:00
rockchip ASoC: rockchip: Use dev_err_probe() helper 2021-12-20 12:47:21 +00:00
samsung ASoC: samsung: idma: Check of ioremap return value 2021-12-29 12:45:46 +00:00
sh ASoC: sh: rz-ssi: Check return value of pm_runtime_resume_and_get() 2021-12-17 16:21:17 +00:00
sof ASoC: Merge fixes 2021-12-31 13:23:28 +00:00
spear
sprd
sti
stm ASoC: stm: Use dev_err_probe() helper 2021-12-20 12:47:23 +00:00
sunxi ASoC: sunxi: Use dev_err_probe() helper 2021-12-20 12:47:24 +00:00
tegra ASoC: Merge fixes 2021-12-31 13:23:28 +00:00
ti ASoC: ti: Use dev_err_probe() helper 2021-12-20 12:47:13 +00:00
uniphier ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA 2021-11-25 11:54:30 +00:00
ux500
xilinx ASoC: xilinx: xlnx_i2s: Handle sysclk setting 2022-01-24 19:45:38 +00:00
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c ASoC: soc-component: add snd_soc_pcm_component_delay() 2021-11-29 12:19:41 +00:00
soc-compress.c
soc-core.c ASoC: core: Add snd_soc_of_parse_pin_switches() from simple-card-utils 2021-12-23 18:34:23 +00:00
soc-dai.c ASoC: soc-dai: update snd_soc_dai_delay() to snd_soc_pcm_dai_delay() 2021-11-29 12:19:40 +00:00
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: fix BE handling of PAUSE_RELEASE 2021-12-14 17:15:48 +00:00
soc-topology-test.c
soc-topology.c ASoC: topology: Fix typo 2022-01-06 13:55:55 +00:00
soc-utils.c