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 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>
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>
Fix to resolve kernel panic by unmapping kernel VA when smmu map fails &
add token logic to avoid stale hab response during aHAL restart
Suggested-by: Karthik D K
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
Change-Id: I7a793262ffa98d9e6698b99fb720e583d3990ce7
update sa8295 machine driver to support Senary and Septenary
and 3 High Speed TDM interfaces.
Change-Id: I30043383087494c99424e3d9c0e4d19e279b5349
Signed-off-by: Cong Tang <congt@codeaurora.org>
The ADSP asm session ids are managed by the kernel driver. It's all right
for native use cases. But for virtualization use cases, there's no way to
synchronize the session ids' status among virtual machines. Playing back
in one virtual machine is probably failed, because the session id may had
been occupied by a use case in another virtual machine.
The patch allowed audio playback & capture stream to try all
available session ids in case of session id conflict error, to support
concurrent playback from multiple virtual machines.
Change-Id: Ibdde0b21643f135066b017ab678d999841b23475
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
Add new version of adm open which accept stream based ec_ref information to
support per-stream ec_ref channel mixer.
Signed-off-by: Erin Yan <xinyey@codeaurora.org>
Change-Id: I2253d71aa107bdad6d3eea7d528ff7403d292a85
Per-stream EC Ref mixer controls are added to support stream based channel
mixer for ec_ref signal.
Signed-off-by: Erin Yan <xinyey@codeaurora.org>
Change-Id: I89eb125e9b01b7bcdbb038148ec93d85a19cf3d5
- PSPD is not applying properly for multi zone streams
as expected. Due to this observing mute in some of the
channels.
- To fix this, configure PSPD for multi zone streams.
Change-Id: I70c98ae437e88ddfd56413f06422d694ed466a41
After ADSP SSR happened, toggle swr_slave_vdd before play to reset
haptics HW so that it can function properly.
Change-Id: I48bc07c923d1af2041c6c156c699e329084f0d34
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Fix concurrent playback issue on multi container, there is mismatch with
audio_platform_info config file.
Change-Id: I8b42424dd0e1f299fe90c0b835b41a788e910208
Update the slave-vdd regulator control logic to avoid unbalanced
regulator_enable() regulator_disable() calls. Meanwhile, correct
the jump label when bailing out from soundwire enumeration failure.
This helps to avoid the regulator_put() call in the device remove
process throwing a warning for a dangling regulator enable status.
Change-Id: I89157f5f9177db69bbbf6aedcc8e605c43a7584e
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>