Add flag to check if wait event initialized before access.
Change-Id: Ib4b4654dfe1b0a18506ae6fb8029296a5f780fe9
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
enable GPIO122 as mclk2 for externel AMP on sa6155 auto platform.
Change-Id: I9cb9012096a3a7620aeaeae5c690ae9ff168457a
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
The current AFE logging point is global, once enabled all active
AFE ports will log its data through DIAG to PC, However, diag
logging throughput is limited.
Need add kcontrol for enable/disable AFE logging by AFE port
per direction.
Change-Id: I05a12f2eb4bc5b5a3ad39b8bbf2f4148bec05002
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
1. During SSR, app_type is NONE got from this_adm struct.Add
change to get app_type from current cal block when app_type
is NONE.
2. FNN module is added in DMFE and QMVC CoPP topology. Add
change to remove topology condition to ensure hyp assign is
called when FNN module is used.
3. FNN moudle is not supported for 44.1Khz. Set the rate to
16Khz for VPM_TX_VOICE_FLUENCE_NN_COPP_TOPOLOGY.
Change-Id: Ie64a04b8d29202eda5c6153cb0dd478f15b7485b
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
transcode_loopback_session_lock is defined but not used, and cause build issue
remove the unused definition
Change-Id: I233ca61084370cd17ccd04fa51fa1c25c8885c36
Signed-off-by: Fei Tong <ftong@codeaurora.org>
To avoid out of bound value of output/input
channel add the check.
Change-Id: I25b7616d6fc08c2d0bb530dfb1457471dc25861c
Signed-off-by: Shashi Kant Maurya <smaury@codeaurora.org>
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>