summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-16audio: sound trigger new PCM for zero-latency recordingandroid-s-beta-2_r0.5android-msm-redbull-4.19-s-beta-2yixuanjiang
Create new PCM to capture hotword buffer for zeroy latency Bug: 184006297 Signed-off-by: yixuanjiang <yixuanjiang@google.com> Change-Id: I3101302d980ebeab69f7040c7dcd17126b582041
2021-03-22ASoC: dsp: Synchronise adm and rtac commandsandroid-s-beta-1_r0.5android-msm-redbull-4.19-s-beta-1android-msm-redbull--s-beta-1Soumya Managoli
Race condition observed while processing the set_pp_params command responses sent back to back by adsp for commands sent from adm and rtac. Handle this by synchronising the get/set pp_params command in both the drivers. QCT CR-2771103 Bug: 181819518 Change-Id: Id89d98217dc5cad3703e5d545ddee21cb145c874 Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2021-02-26asoc: fix voice two way no soundandroid-s-preview-3_r0.5android-msm-redbull-4.19-s-preview-3vincenttew
add voice call TX routing path to fix no backend DAI issue Bug: 178767850 Signed-off-by: vincenttew <vincenttew@google.com> Change-Id: I46da86b2bbc3d7ab51f26ed21b3c077e74414877
2021-02-26Merge LA.UM.9.12.R2.10.00.00.685.039 via branch 'qcom-msm-4.19-7250' into ↵Lucas Wei
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
2021-02-01audio: change log level for warning messageandroid-s-preview-2_r0.5android-msm-redbull-4.19-s-preview-2Jason Hsu
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
2020-10-14Merge 07145f7e66065504cb28860d98972ad1b4378f9c on remote branchLinux Build Service Account
Change-Id: I28fd44607c1b2a004dbc30554ac4c7179161bec9
2020-10-04Merge "dsp: q6core: Check q6core avs state to be modules ready"qctecmdr
2020-09-28asoc: va-macro: Update widget order for VA_MCLK and VA_SWR_PWRLaxminath Kasam
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>
2020-09-23dsp: q6core: Check q6core avs state to be modules readyLaxminath Kasam
During PDR, in dynamic load module if attempted before all module state ready on AVS it may fail. Add AVS state check before send load module cmd. Change-Id: I70a5a5b11f5661042d704222759608179ba9d47c Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-09-17Merge 21b3cad0bef4d429a802e960705ce003405e073f on remote branchLinux Build Service Account
Change-Id: I9988963239cea0ad4a445e38f2744749aa5775c6
2020-09-11Merge "ASoC: wsa883x: Update register sequence to reduce CnP"qctecmdr
2020-09-11Merge "soc: swr-mstr: Fix headset detect issue due to master.num_dev not ↵qctecmdr
updated"
2020-09-11Merge "soc: swr-mstr: update component and interrupt enable sequence"qctecmdr
2020-09-07ASoC: wsa883x: Update register sequence to reduce CnPSudheer Papothi
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>
2020-09-06asoc: add null check for pcm pointer of snd_pcm_volumexsang
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>
2020-09-04soc: swr-mstr: Fix headset detect issue due to master.num_dev not updatedVatsal Bucha
Headset is not detected sometimes due to master.num_dev not being updated when we call GET_ENUM_SLAVE_STATUS as get_logical address may not have been called. Also enable slave irq only when swr wokeup from clk stop and not when master is already up. This will prevent valid irq to be discarded as spurious irq. Change-Id: I00284e9340668c853d0bd604fe66801118982780 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-09-04soc: swr-mstr: update component and interrupt enable sequenceMeng Wang
Enable component after enabling interrupt to avoid missing some intterupt during master init. Change-Id: I0f60c5431a815c58f878d3b9275a046e47939111 Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-09-03Merge 08747bef396f04f38ea4632444c6e17cb232d69d on remote branchLinux Build Service Account
Change-Id: I938623d8bb6ae90029e1c7fecb397faca7725c18
2020-08-28soc: swr-mstr: Fix random headset detection issue on scubaVatsal Bucha
When headset is inserted and reboot device sometimes headset is not detected after reboot as host_irq from swr slave gets masked. This is because of cmd error seen after clearing all irq which results in fifo flush. Read swrslave irq before clearing so as to resolve cmd error. Also enable slave irq only after clearing enum interrupt at master which results in proper enabling of irq. Change-Id: Id66029c65c4d813391bfeb8c0c619560f298eeab Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-25Merge "config: kona: Disable MI2S, TDM and AUXPCM interfaces"qctecmdr
2020-08-25config: kona: Disable MI2S, TDM and AUXPCM interfacesPrasad Kumpatla
Disable MI2S, TDM and AUXPCM interfaces to avoid unnecessary registration of mixer controls and improve performance in loading mixer paths. Change-Id: Id0e37ee772ac10a84eb683a4f8736e7f6ff42fad Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-08-25asoc: dsp: Fix possible invalid memory access due to race conditionVangala, Amarnath
Fix for possible double free issue in speaker protection implementation. Replace vulnerable code with safe call flow. Change-Id: Id96cf97dd60d85897d64f1d8f2440a5b6de3ba61 Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-23Merge "asoc: Register widgets and intercons only when supported"qctecmdr
2020-08-19asoc: dsp: Fix possible invalid memory access due to race conditionVangala, Amarnath
Fix for possible double free issue in speaker protection implementation. Replace vulnerable code with safe call flow. Change-Id: Id96cf97dd60d85897d64f1d8f2440a5b6de3ba61 Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-18dsp: Add support for GET_PARAMSHarshal Ahire
Add support to query module parameters from ADSP. Change-Id: Ie63dd95cf27277f9c836becc98952d48971a3ec3 Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2020-08-18Merge 7321b52a42f324b76023ce334cb75735b964a1ec on remote branchLinux Build Service Account
Change-Id: If5b26985cd274dd50c76ab58409a192de9027b68
2020-08-17asoc: Register widgets and intercons only when supportedHarshal Ahire
Register for the widgets and interconnections in routing driver only when the respective interfaces are supported. Add config based approach for TDM, AUXPCM and MI2S interfaces. Change-Id: I2b76e295d7cafde6062a3e0afbe7f25721fa9cca Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2020-08-13dsp: Add support for GET_PARAMSHarshal Ahire
Add support to query module parameters from ADSP. Change-Id: Ie63dd95cf27277f9c836becc98952d48971a3ec3 Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2020-08-07Merge "ASoC: wcd937x: Add mixer ctl for TX CH power level"qctecmdr
2020-08-04Merge "ASoC: rouleur: Update hph registers based on foundry id"qctecmdr
2020-08-04Merge "ASoC: sdm660 audio changes"qctecmdr
2020-08-04ASoC: wcd937x: Add mixer ctl for TX CH power levelVatsal Bucha
Add mixer ctl for tx channel power level. CRs-Fixed: 2703598 Change-Id: Iecb0dfe491afaface4c4dd1995aa13c7efd9df82 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-02Merge 695aa4d862a96e27d2b0d028ef7c131113205915 on remote branchLinux Build Service Account
Change-Id: I6fd97433606436b94c5da71ed6350b287cb05570
2020-07-30Merge "asoc: wcd938x: Add WCD ADC Mode mask to control modes"qctecmdr
2020-07-30Merge "ASoC: rouleur: Change hph and ear gain according to soc capacity"qctecmdr
2020-07-30Merge "soc: wsa883x: Update changes for wsa8830"qctecmdr
2020-07-30Merge "adsp-loader: Fix compilation error"qctecmdr
2020-07-30Merge "ASoC: wsa883x: Update initial register sequence"qctecmdr
2020-07-30Merge "dsp: fix mute for AptX Adaptive A2DP streaming"qctecmdr
2020-07-30Merge "ASoC: wsa883x: Update sequence for temperature"qctecmdr
2020-07-30Merge "dsp: fix to race condition in voice call mute command handling."qctecmdr
2020-07-30ASoC: rouleur: Update hph registers based on foundry idVatsal Bucha
Rouleur has different hph settings for different foundry id. Read foundry id and update hph settings so as to provide same settings to end user. Change-Id: I114047226462ab95e0c93271c3d6099f15af2343 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-07-28dsp: fix to race condition in voice call mute command handling.Vangala, Amarnath
Apply the cached value of device mute setting to dsp, after voc state moves to RUN. Change-Id: I82bc9ab2d49a199f0277b1694cd00311eddd6115 Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28asoc: wcd938x: Add WCD ADC Mode mask to control modesLaxminath Kasam
To set correct swr clk rate in concurrency, use WCD ADC modes as status mask bit to confirm ADC paths active and control set clock rate. Change-Id: Id3401d6ed59bd617e0751e7c704268346b36dac4 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-07-28ASoC: sdm660 audio changesSoumya Managoli
Enable compilation for sdm660 target. Bring in sdm660_cdc codec driver. Bring in sdm660 machine driver. Update codec driver to component driver to align with kernel-4.19 ALSA. Change-Id: I927a032d077bcce6b3dcc4a95445e8b1e86d461a Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2020-07-27ASoC: soc: Add pinctrl-lpi legacy driver for sdm660Soumya Managoli
Use the legacy pinctrl-lpi driver for sdm660 instead of the latest driver to avoid conflicts. Change-Id: I58b1854eecb9488227c6e378c9ac10f779259e90 Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2020-07-27ASoC: rouleur: Change hph and ear gain according to soc capacityVatsal Bucha
Register to power supply framework to get soc capacity. Reduce ear and hph gain for reduced voltage to optimize power consumption. Also set LD22 voltage to lower value for low SoC. Change-Id: I94de9341b8c7307128d3cd41c7398c31d57fa685 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-07-27adsp-loader: Fix compilation errorXiao Li
Print the variables of size_t length using '%zu' to fix compilation error. Change-Id: I56b15d56a213d994d278d353336afefe0907a426 Signed-off-by: Xiao Li <xiaolee@codeaurora.org>
2020-07-27soc: wsa883x: Update changes for wsa8830Laxminath Kasam
Update DRE_CTL offset to 3 for wsa8830 variant. Change-Id: I9acab01b0099093b8e427d52e48ba9744c6f5aac Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-07-27ASoC: wsa883x: Update initial register sequenceSudheer Papothi
Update initial regsiter sequence for wsa883x speaker amplifier as per hardware requirements. Change-Id: I3cd0458980bdc5140ff81b3b8ba6bab42e72fd49 Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>