linux-stable/sound/soc
S.j. Wang 03da939298 ASoC: fsl_asrc: Fix the issue about unsupported rate
commit b06c58c2a1 upstream.

When the output sample rate is [8kHz, 30kHz], the limitation
of the supported ratio range is [1/24, 8]. In the driver
we use (8kHz, 30kHz) instead of [8kHz, 30kHz].
So this patch is to fix this issue and the potential rounding
issue with divider.

Fixes: fff6e03c7b ("ASoC: fsl_asrc: add support for 8-30kHz
output sample rate")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-19 08:20:55 +02:00
..
adi
amd License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au1x ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-04-26 11:02:03 +02:00
bcm Merge remote-tracking branches 'asoc/topic/cs43130', 'asoc/topic/cs53l30', 'asoc/topic/cygnus' and 'asoc/topic/davinci' into asoc-next 2017-09-01 12:12:32 +01:00
blackfin License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cirrus ASoC: cirrus: i2s: Fix {TX|RX}LinCtrlData setup 2018-07-03 11:24:48 +02:00
codecs ASoC: cs42xx8: Add regcache mask dirty 2019-06-19 08:20:55 +02:00
davinci ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM 2019-05-31 06:47:35 -07:00
dwc ASoC: dwc: Delete an error message for a failed memory allocation in dw_i2s_probe() 2017-08-14 17:28:51 +01:00
fsl ASoC: fsl_asrc: Fix the issue about unsupported rate 2019-06-19 08:20:55 +02:00
generic License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hisilicon ASoC: hisilicon: constify snd_soc_dai_ops structure 2017-07-17 16:16:58 +01:00
img ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback 2017-12-25 14:26:28 +01:00
intel ASoC: Intel: avoid Oops if DMA setup fails 2019-05-10 17:53:15 +02:00
jz4740 ASoC: jz4740: Handle return value of clk_prepare_enable. 2017-07-26 13:01:18 +01:00
kirkwood ASoC: kirkwood: make snd_pcm_hardware const 2017-08-17 17:57:09 +01:00
mediatek ASoC: mediatek: preallocate pages use platform device 2018-07-17 11:39:22 +02:00
mxs License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nuc900 ASoC: nuc900: Fix a loop timeout test 2018-03-19 08:42:55 +01:00
omap ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE 2018-12-17 09:28:50 +01:00
pxa License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qcom License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rockchip ASoC: rockchip: pdm: fix regmap_ops hang issue 2019-05-10 17:53:11 +02:00
samsung ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate 2019-05-10 17:53:09 +02:00
sh ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check 2019-03-23 14:35:11 +01:00
sirf ASoC: sirf: Fix potential NULL pointer dereference 2018-09-05 09:26:39 +02:00
spear License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sti
stm ASoC: stm32: fix sai driver name initialisation 2019-05-08 07:20:52 +02:00
sunxi ASoC: sun4i-i2s: Fix RX slot number of SUN8I 2018-03-19 08:42:44 +01:00
tegra License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
txx9 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ux500 ASoC: ux500: add MODULE_LICENSE tag 2018-02-25 11:07:51 +01:00
xtensa
zte ASoC: zte: Fix incorrect PCM format bit usages 2018-09-05 09:26:39 +02:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
soc-ac97.c
soc-cache.c
soc-compress.c ASoC: compress: Set reasonable compress id string 2017-08-16 15:52:58 +01:00
soc-core.c ASoC: dapm: Recalculate audio map forcely when card instantiated 2018-12-17 09:28:49 +01:00
soc-dapm.c ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables 2019-03-23 14:35:11 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c Merge remote-tracking branches 'asoc/topic/hisi', 'asoc/topic/img', 'asoc/topic/jack' and 'asoc/topic/jz4740' into asoc-next 2017-09-01 12:12:41 +01:00
soc-ops.c
soc-pcm.c ASoC:soc-pcm:fix a codec fixup issue in TDM case 2019-05-10 17:53:08 +02:00
soc-topology.c ASoC: topology: free created components in tplg load error 2019-03-23 14:35:15 +01:00
soc-utils.c ASoC: soc-utils: make snd_soc_platform_driver const 2017-08-14 17:21:41 +01:00