Observed audio capture has no data after upgrade to 5.4 kernel
due to change in dapm power up sequence in 5.4 kernel.
Modified tavil TX routes and dapm widgets to
meet the recent kenrel dapm power up sequence.
Change-Id: I15965a4f221b396e670a5b2888a60557c302db51
Signed-off-by: Vijay Kumar Maddula <quic_vmaddula@quicinc.com>
Observed audio playback mute after upgrade to 5.4 kernel
due to change in dapm power up sequence in 5.4 kernel.
Modified tavil RX routes and dapm widgets to
meet the recent kenrel dapm power up sequence.
Change-Id: I24576f342c43e586ed9b55eeab2510c59c70e33d
Signed-off-by: Vijay Kumar Maddula <quic_vmaddula@quicinc.com>
App Type Gain command does not work due to max value
Change-Id: I27a7e4cf22e6b53650e1b51af65c7aadafa064dc
Signed-off-by: ftong <quic_ftong@quicinc.com>
Mutexes are initialized, but not destroyed, add destruction
in exit routines.
Change-Id: Ia45c604141f4f03403a765e0d10ff0b86b25885e
Signed-off-by: ftong <quic_ftong@quicinc.com>
In automotive hypervisor SSR case, csd2 need a while to handle resource,
hence receiving virtual SSR event doesn't mean PVM is ready for audio usecase.
AudioReach should wait for more precise events from PVM csd2.
Expose an ioctl node for updating sndcard status via gsl virtualization.
Change-Id: Ia5d1110dea970070706937c3bf5e42e1ccb1942f
Send path to get the cal block in order to fetch
topology and app type.
Change-Id: I5ea2fe7da99f095c9bb31644bd65c0a2a6d0870f
Signed-off-by: Manoj Kumar N D <quic_mnd@quicinc.com>
Since quin & tert tdm fsync has harware conflict at talos,
add kcontrol for audiod use.
Change-Id: Ic42dec3144a9b3a8def14b14081cb9562291ae09
Signed-off-by: Jing Wang <quic_jingwa@quicinc.com>
change pr_err to pr_debug. Can't find device node
mclk_gpio_phandle[i](it equals "qcom,internal-mclk1-gpios")
in gpio device_tree dts file, so it needs to change this log
to pr_debug, it's not an error.
Change-Id: I82e58222e27b3a97209c52e8e569a0257744cf22
Signed-off-by: Xuewen Liu <quic_xuewliu@quicinc.com>
Sometimes, the return of msm_audio_ion_alloc is a
positive number not a negative number when audio ION
alloc failed. It will return the status of cmd_rsp
which maybe a positive number.
Change-Id: Ice90385f22c07fa2c9c72c8a31aeb3b8ee477756
Signed-off-by: Deru Wang <quic_deruwang@quicinc.com>
1) Doing SRC with MFC when FE and BE SampleRates are different.
MFC module is expected to add as fist module in COPP and output
SR of MFC is configured same as app_type SR.
2) Adding MFC module V2 version details to system.
Change-Id: I7c03fa28ec32892645ead9baf59eb927ca3e4891
dyn mclk support enable/disable in afe_set_lpass_clock_v2
Change-Id: Idb793961135ddc2bcdefe2c8367abce93a4ce164
Signed-off-by: Jing Wang <quic_jingwa@quicinc.com>
When afe is inactive, it can cause afe_state to be negative and lead to timeout.
Ignore afe response in such scenario to avoid timeout.
Change-Id: I1191cbe40920bfdcb3ec7e8de76f9210923f40a2
Signed-off-by: ftong <quic_ftong@quicinc.com>
Defines mixer control for the paired rx and how the dai driver is starting/stopping the paired rx port.
Change-Id: Ie17f7de9d7a482ad30b219a9ba68066ee8d467df
Contains functions defined in the afe driver to store the paired rx information
in the afe driver and to start/stop the paired rx port.
Change-Id: I4ec863d9b04ec7f8f12abb5b66b417eeaa779ec8
HS_IF0_TDM_RX_0_DUMMY, HS_IF1_TDM_RX_0_DUMMY and HS_IF2_TDM_RX_0_DUMMY
are for playback instead of capture.
Change-Id: Icb4ccaacb3c6904b9591cada0905250a2b67cbef
Signed-off-by: Hugh Guan <quic_hhguan@quicinc.com>
For elite and audioreach co-exit, we need keep source file same.
This patch exit in audioreach but not included in elite, cp it to keep file same.
Leveraged from audio-ar commit id ac15eb7016aff23a2be2a57289635d741cb95340
Change-Id: I187909403e9b54c8f6836477208de5e8311bf4ff
Signed-off-by: Kogara Naveen Kumar <quic_nkogara@quicinc.com>
Static loopback is created between QUIN_TDM_RX_0 to Tx session.
Tx session is created with quin_tdm_tx_7 dummy port.
Change-Id: Ic634b47d1d7f80a10c6d2bc341a6d3ca8eae34c1
- ASRC tinymix command is split into two. One for configuring and another for starting.
- assign correct asrc instance ID and asrc configs.
- Update correct asrc configs in get function to retrieve values each time.
- Handle multiple parameters from tinymix command by storing the values in global variable and enable asrc once all params are received.
- Fix port type assignment for ASRC.
Change-Id: Ic9d4477d7b04f12f5c62903d0f90e9d2d18cc1d9
Signed-off-by: Joel Dey <quic_jdey@quicinc.com>
trace_printk is recommended for debugging purpose as it
requires temporary memory to handle strings. If used
anywhere within the kernel, memory will be allocated to it.
Hence removed it to avoid any unnecessary memory allocation.
Change-Id: If7b0cada91c97b21987f91e0ff7b7a15ce2145e2
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Add support for 24 and 32bit format for ASM loopback and playback
session.
Change-Id: Ieb6a6b2328fbe5d84b5b685ecc08adcd6638353c
Signed-off-by: E V Ravi <quic_evenka@quicinc.com>