linux/sound/soc
Shengjiu Wang d0250cf4f2
ASoC: fsl_asrc: Add an option to select internal ratio mode
The ASRC not only supports ideal ratio mode, but also supports
internal ratio mode.

For internal rato mode, the rate of clock source should be divided
with no remainder by sample rate, otherwise there is sound
distortion.

Add function fsl_asrc_select_clk() to find proper clock source for
internal ratio mode, if the clock source is available then internal
ratio mode will be selected.

With change, the ideal ratio mode is not the only option for user.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/1593525367-23221-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-07-01 17:21:07 +01:00
..
adi
amd ASoC: amd: Enable interrupt in dma_open 2020-07-01 17:21:06 +01:00
atmel ASoC: atmel: rename to snd_soc_component_read() 2020-06-22 15:13:39 +01:00
au1x
bcm
cirrus
codecs Merge branch 'for-5.8' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.9 2020-06-29 20:47:01 +01:00
dwc
fsl ASoC: fsl_asrc: Add an option to select internal ratio mode 2020-07-01 17:21:07 +01:00
generic
hisilicon
img
intel ASoC: Intel: KeemBay: Fix header guard 2020-07-01 17:21:04 +01:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8183-da7219: set playback and capture constraints 2020-06-23 12:54:10 +01:00
meson ASoC: soc-component: merge snd_soc_component_read() and snd_soc_component_read32() 2020-06-22 15:13:36 +01:00
mxs
pxa ASoC: pxa: rename to snd_soc_component_read() 2020-06-22 15:13:38 +01:00
qcom Merge branch 'for-5.8' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.9 2020-06-29 20:47:01 +01:00
rockchip ASoC: rockchip: Fix a reference count leak. 2020-06-18 17:21:58 +01:00
samsung ASoC: samsung: Fix a typo in Kconfig 2020-06-26 16:10:58 +01:00
sh
sirf
sof Merge branch 'for-5.8' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.9 2020-06-29 20:47:01 +01:00
spear
sprd
sti
stm
sunxi
tegra ASoC: tegra: Fix reference count leaks. 2020-06-17 14:04:02 +01:00
ti
txx9
uniphier
ux500
xilinx
xtensa
zte
Kconfig
Makefile
soc-ac97.c ASoC: soc-component: merge snd_soc_component_read() and snd_soc_component_read32() 2020-06-22 15:13:36 +01:00
soc-acpi.c
soc-card.c
soc-component.c ASoC: soc-component: use io_mutex correctly 2020-06-22 15:13:37 +01:00
soc-compress.c
soc-core.c ASoC: soc-link: introduce exit() callback 2020-06-23 12:25:37 +01:00
soc-dai.c
soc-dapm.c ASoC: soc-component: merge snd_soc_component_read() and snd_soc_component_read32() 2020-06-22 15:13:36 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c ASoC: soc-link: introduce exit() callback 2020-06-23 12:25:37 +01:00
soc-ops.c ASoC: soc-component: merge snd_soc_component_read() and snd_soc_component_read32() 2020-06-22 15:13:36 +01:00
soc-pcm.c snd/soc: correct trivial kernel-doc inconsistency 2020-06-26 14:43:47 +01:00
soc-topology.c
soc-utils.c asoc: Update supported rate and format for dummy dai 2020-06-29 18:48:51 +01:00