asoc: msm_sdw: Add mutex handling to protect dev_up access

A race condition might occur between setting the int_mclk1_enabled
and dev_up flags in SSR/PDR use cases. Protect the dev_up
flag also with the same mutex as int_mclk1_enabled to fix this.

Change-Id: I2216ac2aa52a52cbb60c15b2d2665e1da2315f95
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
1 file changed
tree: f55352d2b34b4b4142bd0a1924d94e5a7cc87bb2
  1. asoc/
  2. config/
  3. dsp/
  4. include/
  5. ipc/
  6. soc/
  7. Android.mk
  8. Makefile
  9. Makefile.am
  10. NOTICE