linux/sound/soc
Codrin Ciubotariu 2993c1f9d7 ASoC: atmel-i2s: Fix usage of capture and playback at the same time
[ Upstream commit 3b7961a326f8a7e03f54a19f02fedae8d488b80f ]

For both capture and playback streams to work at the same time, only the
needed values from a register need to be updated. Also, clocks should be
enabled only when the first stream is started and stopped when there is no
running stream.

Fixes: b543e467d1 ("ASoC: atmel-i2s: add driver for the new Atmel I2S controller")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20210618150741.401739-2-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:53:46 +02:00
..
adi
amd ASoC: amd: change clk_get() to devm_clk_get() and add missed checks 2020-12-30 11:51:22 +01:00
atmel ASoC: atmel-i2s: Fix usage of capture and playback at the same time 2021-07-14 16:53:46 +02: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: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK 2021-07-14 16:53:45 +02:00
dwc
fsl ASoC: fsl_esai: Fix TDM slot setup for I2S mode 2021-04-21 12:56:14 +02:00
generic ASoC: simple-card: fix possible uninitialized single_cpu local variable 2021-05-14 09:44:27 +02:00
hisilicon ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup() 2021-07-14 16:53:40 +02:00
img ASoC: img-i2s-out: Fix runtime PM imbalance on error 2020-10-01 13:18:06 +02:00
intel ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet 2021-06-16 11:59:33 +02:00
jz4740 ASoC: jz4740-i2s: add missed checks for clk_get() 2020-12-30 11:51:18 +01:00
kirkwood ASoC: kirkwood: fix IRQ error handling 2020-10-01 13:17:13 +02:00
mediatek ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()' 2021-07-14 16:53:42 +02:00
meson ASoC: meson: axg-tdmin: fix axg skew offset 2021-01-19 18:26:16 +01: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: lpass-platform: Fix memory leak 2020-11-24 13:29:07 +01:00
rockchip ASoC: rockchip: Fix a reference count leak. 2020-06-30 15:36:57 -04:00
samsung ASoC: samsung: tm2_wm5110: check of of_parse return value 2021-05-14 09:44:11 +02:00
sh ASoC: rsnd: tidyup loop on rsnd_adg_clk_query() 2021-07-14 16:53:40 +02:00
sirf ASoC: sirf: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:05:39 +01:00
sof ASoC: SOF: Intel: HDA: fix core status verification 2021-04-14 08:24:14 +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: sunxi: sun4i-codec: fill ASoC card owner 2021-04-14 08:24:15 +02: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
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
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: remove widget from dirty list on free 2021-01-19 18:26:11 +01: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: pcm: DRAIN support reactivation 2020-12-30 11:51:04 +01:00
soc-topology.c ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values() 2021-02-03 23:26:01 +01:00
soc-utils.c ASoC: add soc-component.c 2019-08-05 16:16:19 +01:00