Age | Commit message (Collapse) | Author |
|
Bug: 187909050
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I5355253bce3b7c945ea75f94f24d22ec601dacf5
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Conflicts:
dsp/q6adm.c
dsp/rtac.c
include/dsp/q6adm-v2.h
Bug: 187909050
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I9261f1c48a33410da347a0ed29da4b93d4ec0ec9
|
|
In-order reduce the power down and hence to improve
audio-server restart time following time optimization is done.
1. Add common delay after both Amp is powered down.
a. Use 16ms instead of 20ms
2. Remove extra delay added in tas256x_set_power_shutdown()
3. Use usleep_range() instead of msleep for less than 20ms in
power up/down related functions.
Bug: 171941028
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I9d169b73f140c0b6b65d4f035193e3f687624aaa
|
|
Conflicts:
asoc/codecs/Kbuild
dsp/q6afe.c
Bug: 184813985
Change-Id: I1ac7afebff5a637726ed6770cf4e4e3fc0fa59ac
|
|
'qcom-msm-4.19-7250-audio-drivers.lnx.4.0.r3' into android-msm-pixel-4.19
Conflicts:
asoc/kona.c
Bug: 182748782
Change-Id: I3a9dffa6dd350b5a6b240e50c7e94eebb8b31243
|
|
Create new PCM to capture hotword buffer for zeroy latency
Bug: 184006297
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I3101302d980ebeab69f7040c7dcd17126b582041
|
|
Create new PCM to capture hotword buffer for zeroy latency
Bug: 184006297
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I3101302d980ebeab69f7040c7dcd17126b582041
|
|
Auto suspend timer for core vote is triggering before read write complete.
Move the auto suspend of core vote to post read write operation.
Change-Id: Ib0f6b026fe0e7fd3fbe052691db492915e436a78
Signed-off-by: Vangala, Amarnath <avangala@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>
Signed-off-by: Lakshman Chaluvaraju <lchalu@codeaurora.org>
|
|
|
|
In bolero-cdc and tx, va, wsa and rx macros, move schedule_work call to
add the child devices to the point later to where the parent
initialization gets completed.
Change-Id: Iaa07329a25020dde21d9249c3848bb7fcf7d816a
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
|
|
GFMUX access happen during RX macro usecase.
Update rx macro to do core_vote before clock
request.
Change-Id: I1afd38ae13066dcfbda307308afce7c4291142d9
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
|
|
add voice call TX routing path to fix no backend DAI
issue
Bug: 178767850
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I46da86b2bbc3d7ab51f26ed21b3c077e74414877
|
|
android-msm-pixel-4.19
Conflicts:
Makefile
asoc/kona.c
asoc/msm-pcm-routing-v2.c
Bug: 172988823
Signed-off-by: lucaswei <lucaswei@google.com>
Change-Id: I7f325c91d3f13c62a046dd150bef827a25cb34ad
|
|
kernel_debug_memory built will treate dbg_warn as KP.
Bug: 171357371
Test: local built pass
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I325606ca18a6d973c8419679648e3e986ddeb090
|
|
Long int negative value passed as part of ucontrol structure
is assigned to int num_app_cfg_type making it positive and
leading to overflow while populating maximum supported
lsm_app_type_cfg structures.
Change-Id: I81e3c75eea82265c8e8e1b3f8f95d9e334c895c4
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
|
|
Avoid copy to user more than requested buffer size
to avoid memory corruption.
Change-Id: Ibf1607f777a358ebd16fd8b8728809afda34eba7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
|
|
reduce unnecessary log:
1. change to debug level log for register read/write
2. change adsp module log to debug level
Bug: 170955458
Test: build pass, check kernel log
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I58d5d9c5a4f3f5ce0f7d48cee81428de022cfe3c
|
|
Swr-slv address is overwritten during wsa881x_swr_probe,
hence soundwire getting incorrect slave address. While
accessing swr master from swr slave due to incorrect
address device crashed
To avoid the issue align the debugfs similar to wsa883x codec.
Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf5b
Signed-off-by: Shashi Kant Maurya <smaury@codeaurora.org>
|
|
not using floting or double division caculation in
kernel it may cause performance issue
Bug: 175092754
Test: stress GCA with touch sound enable
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I96a123758954afd4a5723306f09013c1a38314ab
|
|
PA_ERR can happen during speaker path setup. Log the
error status in the interrupt handler and clear the error
status for next audio playback to resume properly on
the speaker.
Change-Id: I5800d9505a3036127097745aaa880b73b3e87f30
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
|
|
As per the current design in afe, if the
afe_get_cal_topology for AFE_TOPOLOGY_CAL
or send_afe_cal_type for AFE_COMMON_TX_CAL
fails, then the voice UI calblock is fetched/sent.
This is resulting in sending voice UI calblock
on a non voice UI port during concurrent usecase scenario.
Fix is to check if the calblock for get/set is for
a voice UI port or not. Added support to send this
port id info from routing driver to afe when usecase
is enabled via mixer_control.
Change-Id: I356aae61e1b9d11324e7b9f9a57953767a64b71e
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
|
|
write speaker realtime impedance to suez file
node, location as below:
/sys/devices/platform/codec_detect/resistance_left_right
Bug: 170696887
Test: playback and monitor file node realtime value
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ie3b57a3efe90731dca37d4f4742808996812da9d
|
|
|
|
|
|
* The functionality of following mixer control is moved such
that when the TAS device enters into power down mode, the
algo communication is disabled.
- tinymix TAS25XX_SMARTPA_ENABLE DISABLE
* This change will stop the unwanted DSP communication after
Rx port close which leads to module instatntiation which
is unwanted.
Test: build pass, MT/MO voice/voip, pickup/drop call
Bug: 172902030
Change-Id: Ieea08ecb43af199c9f95693f3bde319b686f0f72
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
Signed-off-by: vincenttew <vincenttew@google.com>
|
|
|
|
|
|
Add support to parse static cps configuration from dt.
Add support to send cps configuration for speaker protection
usecases.
Change-Id: I0166a378f24cedef07393bdbb8618df944c62984
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
|
|
Allow regcache sync during clock enable to make sure the registers
are in proper state before the usecase.
Change-Id: I8a9214e460c7f77759d1956e0e7e2d6b2f5b3d3a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
|
|
|
|
Add a function in wsa883x which returns the sound wire
device number for a given wsa883x codec slave instance.
Change-Id: Ie3d0e309870f488b1643a853bcddcf93314d94b5
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
|
|
Issue: During Screen lock/unlock sometimes no sound or compress sound
Update:
(1)Increase TDM Clock error shutdown time
a. Default to 838ms
(2)Ignore Initial TDM clock error (before 838ms)
a. Move Power-Up sequence to tas256x_set_power_state() from
irq_work_func()
b. Unmask TDM clock error interrupt after 50ms in init_work_func()
Bug: 172902030
Bug: 171847273
Test: path switching and check tdm clk status
Change-Id: I7758ce76fa5695ebdcd0050c3ccdb8789e2f3d5c
Signed-off-by: vincenttew <vincenttew@google.com>
|
|
During negative test case if the backend index is out of range
update error check to avoid crashes.
Bug: 171771845
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ieb31efc8553e1a6b21751a73adcc259efa7b0863
(cherry picked from commit 87efbb8f4dc7025c059c39ac3d1474ebf333d9f0)
|
|
|
|
Move the enable and disable of wakeup capability of
swr_tx gpios to clock setup to disable or enable it
in all required usecases.
Change-Id: I9fb76926d8520c382e7f19777190357c50f98994
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
|
|
Ensure soundwire clock re-setup always for SWR AMIC usecase
startup and at end of usecase.
Change-Id: Ie0e94a456c8e5e529a2a7435ded094483e369f01
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
|
|
tinycap test can attempt with different size to
read from driver and need to avoid access more
than period size.
Change-Id: Ifa4ddfb086bd83aa981da62e88da3a9395f5aabc
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
|
|
`dev_dbg` transform into dev_printk while DYNAMIC_DEBUG
been disabled and DEBUG is defined in spcificed files.
Dynamic debug will been disable in user kernel.
To fully clean debug information from user kernel, we add constrain
with file specificed `DEBUG` define with CONFIG_DYNAMIC_DEBUG.
Bug: 162288636
Signed-off-by: lucaswei <lucaswei@google.com>
Change-Id: I619b0b162d0b85b8334d7953cb8632d98bbba497
|
|
|
|
ignore suspend for dapm endpoint to keep audio path
awake during device suspend
Bug: 164924634
Test: build pass, phone call during suspend, playback
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ie79e33ad03a813805ae2fc21e5ffcf225b464782
|
|
Enable vbat adc filter inorder to read vbat and
temperature values for cps speaker protection.
Change-Id: I31c50bdd6ed0becae355600ba3cf48e761406d87
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
|
|
Update smart boost sequence for wsa883x speaker amplifier
to reach max voltage at full scale signal. Update
default tables to maintain backward compatible with
wsa8810/wsa8815.
Change-Id: Ic1a9ce13753d6e573c7916ae99643c85d6892aa0
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
|
|
With wsa883x supported in lagoon, need to
set wsa8815 default config also.
Change-Id: I7e247cb564c893f7fbbc715de68821c6b91d559a
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
|
|
Update widget order for widgets VA_MCLK and VA_SWR_PWR.
As both are having widget supply priority -1, sometimes
dapm is triggering both widget callbacks simultaneously
causing race condition in handling the SWR clock release
with proper request for VA_CLK instead of TX_CLK and
next usecase powerup is impacted.
Change-Id: I3d3a3fadcdb897287ad070dc9e81e354c6f970b0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
|
|
1)Moved Power Up/Down to DAC Event Instead of Mute Stream.
2)Mute Stream is Made Dummy
3)Moved TAS config to config header
Bug: 165162850
Change-Id: Iae2460347eeb387c9921f93d3e3725b51099f9bd
Signed-off-by: vincenttew <vincenttew@google.com>
|
|
use only 4slot for quin tdm for tas driver
Bug: 168089507
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If39076846bd3b5ee2ad3c94548dddd29b9c6968c
|
|
|
|
Update register sequence of WSA883x codec to reduce CnP
during bringup and teardown of speaker path.
Change-Id: I348a55e1324b5c26a36b8d7c78edf52a66e40381
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
|
|
In platform driver volume controls, add null check for
pcm pointer of struct snd_pcm_volume.
Change-Id: I511a79422eaeced6240849cbb665a289afdc5984
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
|