linux_dsm_epyc7002/sound/soc/sh/rcar
Jiada Wang ba164a49f8
ASoC: rsnd: src: Avoid a potential deadlock
lockdep warns us that priv->lock and k->k_lock can cause a
deadlock when after acquire of k->k_lock, process is interrupted
by src, while in another routine of src .init, k->k_lock is
acquired with priv->lock held.

This patch avoids a potential deadlock by not calling soc_device_match()
in SRC .init callback, instead it adds new soc fields in priv->flags to
differentiate SoCs.

Fixes: linux-next commit 7674bec4fc ("ASoC: rsnd: update BSDSR/BSDISR handling")
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-03-11 16:58:52 +00:00
..
adg.c ASoC: rsnd: remove RSND_REG_ from rsnd_reg 2018-12-12 16:17:45 +00:00
cmd.c ASoC: rsnd: move .get_status under rsnd_mod_ops 2018-11-05 11:27:29 +00:00
core.c ASoC: rsnd: src: Avoid a potential deadlock 2019-03-11 16:58:52 +00:00
ctu.c ASoC: rsnd: remove RSND_REG_ from rsnd_reg 2018-12-12 16:17:45 +00:00
dma.c ASoC: rsnd: add SSIU BUSIF support 2018-11-06 17:40:10 +00:00
dvc.c Merge branch 'for-4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-4.21 intel dep 2018-12-13 14:36:46 +00:00
gen.c ASoC: rsnd: gen: fix SSI9 4/5/6/7 busif related register address 2019-02-26 11:43:18 +00:00
Makefile ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
mix.c ASoC: rsnd: move .get_status under rsnd_mod_ops 2018-11-05 11:27:29 +00:00
rsnd.h ASoC: rsnd: src: Avoid a potential deadlock 2019-03-11 16:58:52 +00:00
src.c ASoC: rsnd: src: Avoid a potential deadlock 2019-03-11 16:58:52 +00:00
ssi.c ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check 2019-02-06 17:44:18 +00:00
ssiu.c ASoC: rsnd: gen: fix SSI9 4/5/6/7 busif related register address 2019-02-26 11:43:18 +00:00