With hs tdm port ids extension, the total port ids exceed 256
and mask 0xFF is not enough to get hs tdm port ids in adm open
callback which cause adm open timeout issue.
Change-Id: I73f3468677433d060f9585a213dea6828d6e16e1
Signed-off-by: Cong Tang <congt@codeaurora.org>
Add mixer control to set number of backend channels for AFE_PCM_TX
Change-Id: I978ab0a0b00088efd23e544b18b8f88147109373
Signed-off-by: Tahir Dawson <dawson@codeaurora.org>
Set initial vaue for cfg_type to avoid possible
accessing of uninitialized variable.
Change-Id: Ib2fa91202442a656915263694bd6fbf5cd663544
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Fix to set apr Q6 and snd_card to proper state for first SSR
Suggested-by: Karthik D K <kdk@qti.qualcomm.com>
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
Change-Id: Ia0423b033ee4aae196005e526cf11c3324af5992
Change error logs to debug logs for msm_audio_effects_volume_handler
so as to avoid crash during excessive logging.
Change-Id: I83c6e9122493bda09ae5b734ff4dc2dbba7bcb0c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Add time stamp marker to notify that ADSP load is complete.
Change-Id: I101d8be79dd46d779502b9d90aa0fc5fcc29046f
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
CONFIG_MSM_BOOT_TIME_MARKER has been removed. So
switch to use CONFIG_MSM_BOOT_STATS to print boot
marker for audio.
Change-Id: I977ceecce7e06706d34acbab3d9b9b0a24abde58
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
When afe port starts failed, allocated port should
be released to avoid subsequent allocation failed.
Change-Id: If0cacce296d14135d23bf45e47de5b253372ea31
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Add new mixer ctl to set the adm channels for audio
capture usecase over a2dp.
Change-Id: Id1bf634e45f8a11514ce7ac367d2f2a0afe140bc
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Add support for setting and getting afe port mad type
for RT Proxy Tx port
Change-Id: I7fc550552883b9eee229af4165d4d564578a889a
Signed-off-by: Tahir Dawson <dawson@codeaurora.org>
Add change in q6asm.c to fix uninitialized warning.
Add change in msm-pcm-routing-v2.c to fix out of range warning
Change-Id: I9d29b3cfd3f57ebf07d28ecd775759495b4b3a70
Signed-off-by: Hexuan Zhu <hexuzhu@codeaurora.org>
Need use one global lock to prevent multiple threads visit single hab
socket at same time, as hab can't guarantee that the coming message is
received by the right thread.
Change-Id: Ie63a48cd9518327c9e4078000e613767ee1321b5
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>
If we want to make chmixer work, chmixer input map should be
the same as asm output map, output map should be the same as
adm input map. and need to reverse when record.
Currently if we set chmixer input map under pre-run, the override
flags are not set true, and also default branch didn't work when
record.
Also chmixer didn't support customer value for record during run-time.
This change make chmixer take effect when playback and record
for both default value and customer value during pre-run and run-time.
Change-Id: I3d1455092d41fa6a30c3ddf09c3b0b3023d9cc10
Signed-off-by: Hexuan Zhu <hexuzhu@codeaurora.org>
APPS sends timeout due to mishandling of callback event between RTC and ASM
driver even if they get callback from ADSP. Check for the cmd_state_pp in
ASM before RTAC callback.
Change-Id: I78cb6735b19b53a44f550948efd05446ff8950ad
Signed-off-by: E V Ravi <evenka@codeaurora.org>
Mitigate the issue from ADSP side during low latency record where the PP service takes long time
to propagate the media format and causes buffer drops and time stamp discontinuity, discard the
first partial buffer received from ADSP.
Change-Id: Ib5ef817868ccd4ae597b764ddd85b18b7d870615
Signed-off-by: E V Ravi <evenka@codeaurora.org>
Resolve warning log when hph pa mutex lock is destroyed before
unlock. Initialize hph pa locks as global lock and do not destroy
during SSR to resolve issue.
Change-Id: Idc5af793294f7fdc8dbcc17770f68fe2c46ab337
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Sometimes link status is not connected due to tx_mclk_users
not being properly updated. This is due to tx_mclk_users
enable and disable not being protected by common mutex lock.
Add mutex lock whereever it is accessed to resolve issue.
Change-Id: Ibba208be1f2d3eaf63c49e434c2ae48bc3b5b2d8
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>