diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2019-03-07 09:15:53 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-11 19:58:52 +0300 |
commit | ba164a49f8f7390b036713bf8a70a150a938c670 (patch) | |
tree | 776b2bd382ddda2533107261367c6ab22f2d0fb1 /sound/isa | |
parent | a39fe6e2061615496c12825d6d249fedf1974f8a (diff) | |
download | linux-ba164a49f8f7390b036713bf8a70a150a938c670.tar.xz |
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 7674bec4fc09 ("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>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions