Enable gain ctl of display port hostless playback.
Change-Id: I7beb64a657db7349ad5c3ed374389564cf68bfea
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
audiodlkm headers should be installed in audiodlkm*.bb do_insatll().
Only in this way, the DEPENDS can work for other recipes
in sstate cache condition.
If the headers are installed via audiodlkm do_compile(),
recipes depend on audiodlkm will fail
in audiodlkm sstate cache enabled condition.
Change-Id: Ieeb2fc8cd772e8cf239be74bb2021283bacb658a
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
msm_pcm_loopback_probe should be conducted only for
normal loopback devices, not low-latency.
And such kcontrol should not be added twice.
Change-Id: Iaab631019b5b964473bfaebade0697eb7c4373e7
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
For WSA variant info is available in this register
OTP_REG_0. Make it volatile read-only register
to always read from hardware.
Change-Id: I1c543875748d08304b4abe6c73594bc116d08c6d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
In afe_get_cal_sp_th_vi_param functions, data size
should check with size of cal_type_header. The check
is not present which might lead to out of bounds access.
Update condition to ensure data_size is greater than
or equal to size of cal_type_header.
Change-Id: Ib2904f53243f4fb858131511812fd90de32b4656
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
The PCM_RATE bit field in LPASS_TX_CDC_TXn_TX_PATH_CTL
ranges from 0 to 6.
In the current implementation of tx-macro, the value
read is mapped directly to the sample rate instead of
the indices. Change is to correct this.
Add the delay based on pcm_rate in va-macro as well.
Change-Id: I6cb7e58e71f2a25356608611f1dfed83171706f6
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
Remove unnessary log message for virtual port or it will print a lot of error
message while driver work normal.
Change-Id: Ie8d6e955fc4eaeda169bb92bdc58769c9c005a4e
Signed-off-by: Fei Tong <ftong@codeaurora.org>
Add DP port hostless frontend for port mixer usecases.
Change-Id: I54fe24731efd592d2c1867e9a878be57e5ebbd52
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
In VoIP FNN and audio record concurrence, FNN model shared memory
is wrong to unmap when audio record stop.
Fix it by checking FNN topology and app type to ensure the memory
is unmapped properly.
Change-Id: If24b6aa75d41b629a3ef33b9585d9d7d82aa9b25
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
These controls are used in both runtime and non-runtime.
The current ref_count check will block its use under non-runtime.
Change-Id: If98cf5e2c81e22818637b5c0e99764fbc0d08741
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
When ch_mask is 0, set_cps_config will enter endless loop. Add
check for ch_mask to avoid such endless loop.
Change-Id: Id2237d4f8070b2edaf3bc9690afa649e82a455f8
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Mutex destroy is called as part of wcd_mbhc_deinit during SSR
for hph pa lock when lock is taken resulting in warning. Check
if mutex is locked and unlock mutex before destroy so as to
remove warning.
Change-Id: I521903f9ab24222278d6fb3f349da18c98131c60
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
As yupik has fm on sec mi2s, add corresponding dai for
sec mi2s.
Change-Id: I898126136499786f0bb76394269016b501114a57
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
64CH TDM group device is supported from:
ADSP.HT.5.1.c1-00095-SC8180X-1
Change-Id: If0240dd1dd4b4098ca25af0cf3456212d1f2b0a7
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
This reverts commit ed43bdaa54
reversing changes made to 53feb46e27.
Change-Id: Ic9fdc04d08c9bfd4b0be2f29c315e1602375bddd
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>