ASoC: msm: Use spin lock to protect the shared data

- Two different locks (spin lock and mutex lock) are used
  to protect the shared data, this may cause kernel panic.
- Use spin lock to protect the shared data between interrupt
  function and non-interrupt functions.

CRs-fixed: 375637
Change-Id: I10c93e2ca80d821908b93c22525695d89143825a
Signed-off-by: Helen Zeng <xiaoyunz@codeaurora.org>
1 file changed