CS40L26: Fix race conditions between cl_dsp struct and sysfs access

Add mutex lock cl_dsp_lock on the following functions:
- cs40l26_cl_dsp_reinit()
- cs40l26_get_num_waves()
- f0_offset_store()
- owt_free_space_show()

Add flush_work to ensure proper synchronization during reset recovery

Bug: 324075191
Test: Primitive vibration with reset no KP
Test: idlcli commands
Test: Alarm, keyboard vibrations
Change-Id: I24cfc6631efcf4ccae64318e8a408facb3a76d4b
Signed-off-by: leonardian <leonardian@google.com>
3 files changed
tree: 98391640d8d529fe985d95f7fce358d75a022836
  1. audiometrics/
  2. cs35l41/
  3. cs35l45/
  4. cs40l25/
  5. cs40l26/
  6. Documentation/
  7. drv2624/