Re: [PATCH linux-next v1 1/2] ASoC: rsnd: src: Avoid a potential deadlock

2019-03-06 Thread Kuninori Morimoto
Hi Jiada Thank you for your patch > 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 dea

[PATCH linux-next v1 1/2] ASoC: rsnd: src: Avoid a potential deadlock

2019-03-06 Thread Jiada Wang
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 .in