ASoC: pcm: Protect FE dai list during dai open/close

When dai open/close, the FE dai list must be protected.
If this list is accessed at the same time, list can
be broken. Then the kernel panic may be generated.
So, the mutex lock is changed to the dai open/close funtions.

Change-Id: Ic75a8d5b9d13eaa38d9edca46b0154cecad29a8e
Signed-off-by: sangwoo <sangwoo2.park@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
1 file changed