asoc: swr-haptics: keep in SWR PLAY_SRC when disabling SWR play
Currently, 0 is written into SWR_PLAY register when disabling SWR play,
it coincidently updates the PLAY_SRC to FIFO mode and disables it. If
there is a FIFO play triggered from SPMI address space, the FIFO play
will be disabled and the FIFO samples will be flushed. To avoid this,
keep in SWR PLAY_SRC when disabling SWR play.
Change-Id: Ib594df57835979a8832f2f7a1954ff36f643f724
Signed-off-by:
Fenglin Wu <quic_fenglinw@quicinc.com>
Please register or sign in to comment