linux/sound/soc
Srinivas Kandagatla 30097967e0
ASoC: codecs: va-macro: use fsgen as clock
VA Macro fsgen clock is supplied to other LPASS Macros using proper
clock apis, however the internal user uses the registers directly without
clk apis. This approch has race condition where in external users of
the clock might cut the clock while VA macro is actively using this.

Moving the internal usage to clk apis would provide a proper refcounting
and avoid such race conditions.

This issue was noticed while headset was pulled out while recording is
in progress and shifting record patch to DMIC.

Reported-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Link: https://lore.kernel.org/r/20220727124749.4604-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-07-27 14:46:41 +01:00
..
adi
amd ASoC: SOF: amd: Fixed Build error 2022-05-23 18:33:13 +01:00
atmel Clean up usage of the endianness flag 2022-05-10 12:12:50 +01:00
au1x ASoC: wm8731: Factor out the I2C and SPI bus code into separate modules 2022-04-04 08:39:32 +01:00
bcm
cirrus
codecs ASoC: codecs: va-macro: use fsgen as clock 2022-07-27 14:46:41 +01:00
dwc
fsl ASoC: fsl_sai: Add support for i.MX8MN 2022-06-06 12:31:22 +01:00
generic ASoC: audio_graph_card2: Fix port numbers in example 2022-07-07 17:16:20 +01:00
hisilicon
img ASoC: img-i2s-in: using pm_runtime_resume_and_get instead of pm_runtime_get_sync 2022-04-25 14:00:23 +01:00
intel ASoC: Intel: Skylake: Correct the handling of fmt_config flexible array 2022-07-07 17:16:40 +01:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8195: Fix build warning without CONFIG_OF 2022-05-09 19:04:37 +01:00
meson ASoC: meson: axg-card: Fix nonatomic links 2022-04-21 18:25:15 +01:00
mxs ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe 2022-05-11 17:42:13 +01:00
pxa ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
qcom ASoC: qdsp6: fix potential memory leak in q6apm_get_audioreach_graph() 2022-07-07 17:16:36 +01:00
rockchip ASoC: rockchip-i2s: Undo BCLK pinctrl changes 2022-07-14 13:25:52 +01:00
samsung ASoC: samsung: Fix refcount leak in aries_audio_probe 2022-05-12 11:41:32 +01:00
sh ASoC: rsnd: ssiu: add missing .quit callback for gen2 2022-07-19 14:54:21 +01:00
sof ASoC: SOF: Intel: disable IMR boot when resuming from ACPI S4 and S5 states 2022-06-24 16:21:51 +01:00
spear
sprd
sti ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call 2022-03-16 16:39:28 +00:00
stm
sunxi
tegra ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
ti ASoC: ti: omap-mcbsp: duplicate sysfs error 2022-07-07 17:16:21 +01:00
uniphier ASoC: uniphier: simplify the return expression of uniphier_aio_compr_set_params() 2022-05-09 12:48:41 +01:00
ux500 ASoC: ux500: mop500: Check before clk_put() not needed 2022-05-17 11:58:54 +01:00
xilinx
xtensa
Kconfig ASoC: soc-utils: Add kunit test for snd_soc_tdm_params_to_bclk() 2022-04-05 18:27:56 +01:00
Makefile ASoC: soc-utils: Add kunit test for snd_soc_tdm_params_to_bclk() 2022-04-05 18:27:56 +01:00
soc-ac97.c
soc-acpi.c
soc-card.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
soc-component.c ASoC: soc-component: Update handling to component delays 2022-05-16 12:58:41 +01:00
soc-compress.c ASoC: soc-compress: Change the check for codec_dai 2022-03-14 08:29:11 +00:00
soc-core.c ASoC: core: Pass legacy_dai_naming flag directly 2022-05-16 12:58:40 +01:00
soc-dai.c
soc-dapm.c ASoC: dapm: Initialise kcontrol data for mux/demux controls 2022-06-24 16:21:58 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: soc-generic-dmaengine-pcm: Use default config when none is given 2022-05-04 15:31:19 +01:00
soc-jack.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
soc-link.c
soc-ops.c ASoC: ops: Fix off by one in range control validation 2022-06-07 20:38:08 +01:00
soc-pcm.c ASoC: soc-pcm: fix BE transition for TRIGGER_START 2022-05-23 14:52:59 +01:00
soc-topology-test.c
soc-topology.c ASoC: Pull in fixes 2022-04-05 10:29:12 +01:00
soc-utils-test.c ASoC: soc-utils: Add kunit test for snd_soc_tdm_params_to_bclk() 2022-04-05 18:27:56 +01:00
soc-utils.c ASoC: soc-utils: Add helper to calculate BCLK from TDM info 2022-04-05 18:27:55 +01:00