linux/sound/soc/samsung
Sylwester Nawrocki 2b13bee388
ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
After commit fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate
handling") the audio root clock frequency is configured improperly for
44100 sample rate. Due to clock rate rounding it's 20070401 Hz instead
of 22579000 Hz. This results in a too low value of the PSR clock divider
in the CPU DAI driver and too fast actual sample rate for fs=44100. E.g.
1 kHz tone has actual 1780 Hz frequency (1 kHz * 20070401/22579000 * 2).

Fix this by increasing the correction passed to clk_set_rate() to take
into account inaccuracy of the EPLL frequency properly.

Fixes: fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate handling")
Reported-by: JaeChul Lee <jcsing.lee@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-03-13 15:04:47 +00:00
..
Kconfig ASoC: samsung: Add Odroid ASoC machine driver 2017-04-21 18:27:58 +01:00
Makefile ASoC: samsung: clean makefile about inexistant files 2018-02-12 11:47:49 +00:00
arndale_rt5631.c Merge remote-tracking branches 'asoc/topic/au1x', 'asoc/topic/bcm2835', 'asoc/topic/blackfin' and 'asoc/topic/card' into asoc-next 2015-08-30 15:52:41 +01:00
bells.c ASoC: don't use rtd->codec on samsung/bells 2017-12-05 12:44:52 +00:00
dma.h ASoC: samsung: dmaengine: Allow to specify custom DMA device 2019-02-12 16:31:58 +00:00
dmaengine.c ASoC: samsung: Specify DMA channel names through custom DMA config 2019-02-14 13:06:01 +00:00
h1940_uda1380.c ASoC: samsung: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:39:02 +01:00
i2s-regs.h ASoC: samsung: i2s: Define the parameters list for SAMSUNG_I2S_OPCLK 2018-02-14 12:10:16 +00:00
i2s.c ASoC: samsung: i2s: Fix DAPM routes for capture stream 2019-03-11 16:27:06 +00:00
i2s.h ASoC: samsung: i2s: Define the parameters list for SAMSUNG_I2S_OPCLK 2018-02-14 12:10:16 +00:00
idma.c ASoC: samsung: idma: replace platform to component 2018-02-12 11:45:31 +00:00
idma.h ASoC: Fix __iomem annotation for IDMA registers 2011-11-29 17:28:16 +00:00
jive_wm8750.c ASoC: samsung: make snd_soc_ops const 2017-08-17 18:09:39 +01:00
littlemill.c ASoC: wm8993/wm8994/wm8958: replace codec to component 2018-02-12 11:38:50 +00:00
lowland.c ASoC: wm5100: replace codec to component 2018-02-12 09:39:53 +00:00
neo1973_wm8753.c ASoC: neo1973_wm8753: Use static DAI format setup 2015-01-06 17:34:30 +00:00
odroid.c ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate 2019-03-13 15:04:47 +00:00
pcm.c ASoC: samsung: dmaengine: Allow to specify custom DMA device 2019-02-12 16:31:58 +00:00
pcm.h
regs-i2s-v2.h
regs-iis.h ASoC: samsung: Trivial cleanups in header files 2013-12-30 12:05:56 +00:00
rx1950_uda1380.c ASoC: samsung: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:39:02 +01:00
s3c-i2s-v2.c ASoC: samsung: Add proper error paths to s3c24xx I2S driver 2017-07-28 10:58:31 +01:00
s3c-i2s-v2.h ASoC: samsung: Add proper error paths to s3c24xx I2S driver 2017-07-28 10:58:31 +01:00
s3c24xx-i2s.c ASoC: samsung: Specify DMA channel names through custom DMA config 2019-02-14 13:06:01 +00:00
s3c24xx-i2s.h
s3c24xx_simtec.c ASoC: samsung: make snd_soc_ops const 2017-08-17 18:09:39 +01:00
s3c24xx_simtec.h
s3c24xx_simtec_hermes.c ASoC: samsung: drop owner assignment from platform_drivers 2014-10-20 16:22:13 +02:00
s3c24xx_simtec_tlv320aic23.c ASoC: samsung: drop owner assignment from platform_drivers 2014-10-20 16:22:13 +02:00
s3c24xx_uda134x.c ASoC: s3c24xx_uda134x: Remove unnecessary function call 2017-08-21 17:10:53 +01:00
s3c2412-i2s.c ASoC: samsung: Specify DMA channel names through custom DMA config 2019-02-14 13:06:01 +00:00
s3c2412-i2s.h
smartq_wm8987.c ASoC: samsung: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:39:02 +01:00
smdk_spdif.c ASoC: samsung: make snd_soc_ops const 2017-08-17 18:09:39 +01:00
smdk_wm8580.c ASoC: samsung: smdk_wm8580: remove unused ‘bfs’ 2016-12-15 11:34:44 +00:00
smdk_wm8994.c ASoC: smdk_wm8994: Use card DAPM context to access widgets 2015-05-04 13:51:19 +01:00
smdk_wm8994pcm.c ASoC: samsung: Remove unused now unused struct s3c_dma_params 2016-08-08 11:55:20 +01:00
snow.c ASoC: samsung: Add HDMI audio support for Snow 2018-03-13 09:20:41 -07:00
spdif.c ASoC: samsung: dmaengine: Allow to specify custom DMA device 2019-02-12 16:31:58 +00:00
spdif.h
speyside.c ASoC: wm8996: replace codec to component 2018-02-12 09:42:25 +00:00
tm2_wm5110.c ASoC: add for_each_card_prelinks() macro 2018-09-20 10:18:34 -07:00
tobermory.c ASoC: wm8962: replace codec to component 2018-02-12 09:42:21 +00:00