summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-14Merge android13-gs-pixel-5.10-24Q2 into android13-gs-pixel-5.10android-15-beta-3_r0.6android-15-beta-3_r0.4android-15-beta-3_r0.3android-15-beta-2_r0.6android-15-beta-2_r0.4android-15-beta-2_r0.3android-15-beta-1_r0.5android-15-beta-1_r0.3android-gs-tangorpro-5.10-android15-dpandroid-gs-tangorpro-5.10-android15-betaandroid-gs-pantah-5.10-android15-dpandroid-gs-pantah-5.10-android15-betaandroid-gs-lynx-5.10-android15-dpandroid-gs-lynx-5.10-android15-betaPixelBot AutoMerger
SBMerger: 571992243 Change-Id: I2be5f584759847af84525e4d72d060912c073952 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2024-01-14Merge android13-gs-pixel-5.10-24Q1 into android13-gs-pixel-5.10-24Q2android-u-qpr3-beta-2_r0.7android-u-qpr3-beta-2_r0.6android-u-qpr3-beta-2_r0.5android-u-qpr3-beta-2_r0.4android-u-qpr3-beta-2_r0.3android-u-qpr3-beta-2_r0.2android-u-qpr3-beta-2.1_r0.7android-u-qpr3-beta-2.1_r0.5android-u-qpr3-beta-2.1_r0.4android-u-qpr3-beta-2.1_r0.3android-u-qpr3-beta-2.1_r0.2android-u-qpr3-beta-2.1_r0.1android-15-dp-2_r0.6android-15-dp-2_r0.5android-15-dp-2_r0.4android-15-dp-2_r0.3android-15-dp-2_r0.2android-15-dp-2_r0.1android-15-beta-1_r0.6android-15-beta-1_r0.4android-15-beta-1_r0.2android-15-beta-1_r0.1android-14.0.0_r0.97android-14.0.0_r0.96android-14.0.0_r0.95android-14.0.0_r0.94android-14.0.0_r0.93android-14.0.0_r0.92android-gs-tangorpro-5.10-android14-qpr3-betaandroid-gs-tangorpro-5.10-android14-qpr3android-gs-raviole-5.10-android14-qpr3-betaandroid-gs-raviole-5.10-android14-qpr3android-gs-pantah-5.10-android14-qpr3-betaandroid-gs-pantah-5.10-android14-qpr3android-gs-lynx-5.10-android14-qpr3-betaandroid-gs-lynx-5.10-android14-qpr3android-gs-felix-5.10-android14-qpr3-betaandroid-gs-felix-5.10-android14-qpr3android-gs-bluejay-5.10-android14-qpr3-betaandroid-gs-bluejay-5.10-android14-qpr3PixelBot AutoMerger
SBMerger: 571992243 Change-Id: I9b8f253b1c06a0525124e2325a13af4669c9f1fb Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2024-01-10Fix type confusion of dmabuf in aoc driverandroid-u-qpr2-beta-3.1_r0.7android-u-qpr2-beta-3.1_r0.5android-u-qpr2-beta-3.1_r0.4android-u-qpr2-beta-3.1_r0.3android-u-qpr2-beta-3.1_r0.2android-u-qpr2-beta-3.1_r0.1android-14.0.0_r0.76android-14.0.0_r0.75android-14.0.0_r0.74android-14.0.0_r0.73android-14.0.0_r0.72android-14.0.0_r0.71android-14.0.0_r0.66android-14.0.0_r0.65android-14.0.0_r0.64android-14.0.0_r0.63android-14.0.0_r0.62android-14.0.0_r0.61android-14.0.0_r0.56android-14.0.0_r0.55android-14.0.0_r0.54android-14.0.0_r0.53android-14.0.0_r0.52android-14.0.0_r0.51android-gs-tangorpro-5.10-android14-qpr2-betaandroid-gs-tangorpro-5.10-android14-qpr2android-gs-raviole-5.10-android14-qpr2-betaandroid-gs-raviole-5.10-android14-qpr2android-gs-pantah-5.10-android14-qpr2-betaandroid-gs-pantah-5.10-android14-qpr2android-gs-lynx-5.10-android14-qpr2-betaandroid-gs-lynx-5.10-android14-qpr2android-gs-felix-5.10-android14-qpr2-betaandroid-gs-felix-5.10-android14-qpr2android-gs-bluejay-5.10-android14-qpr2-betaandroid-gs-bluejay-5.10-android14-qpr2Ismael Castro
This change ensures that the struct dma_heap that is passed in the file descriptor via ioctl is created/maintained by aoc. Bug: 313424730 Test: researcher's PoC doesn't print handle Change-Id: I408872a66964bd4d03d3b09794b2eb626028b60b Signed-off-by: Ismael Castro <iicastro@google.com> (cherry picked from commit 7672a4aaa5bb92bc69337942e5fa047e4964ae62)
2023-12-03Merge android13-gs-pixel-5.10-24Q1 into android13-gs-pixel-5.10android-u-qpr3-beta-1_r0.7android-u-qpr3-beta-1_r0.5android-u-qpr3-beta-1_r0.4android-u-qpr3-beta-1_r0.3android-u-qpr3-beta-1_r0.2android-u-qpr3-beta-1_r0.1android-15-dp-1_r0.7android-15-dp-1_r0.5android-15-dp-1_r0.4android-15-dp-1_r0.3android-15-dp-1_r0.2android-15-dp-1_r0.1PixelBot AutoMerger
SBMerger: 571992243 Change-Id: Iac42b53b23a42f55678602fad8c999f8761f3e6c Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-11-30alsa: add support for microphone mask updateandroid-u-qpr2-beta-3_r0.7android-u-qpr2-beta-3_r0.6android-u-qpr2-beta-3_r0.5android-u-qpr2-beta-3_r0.4android-u-qpr2-beta-3_r0.3android-u-qpr2-beta-3_r0.2yixuanjiang
Support dynamic change PDM mask for normal recording and voice uplink. In AoC with differnt projects. PDM and microphone may not map with same order, so it need to adjust mask order. Add control to adjust it. Bug: 299035199 Change-Id: I6c425126f9151b7433034718abe231e084ecd555 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-11-21aoc: notify aocd when aoc_request_on times outAlex Iacobucci
Test: on device Bug: 309950738 Change-Id: I60c14d8d89847c0681ff285b1f4d26d37858be18 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-11-18Fix the reason string when triggered from ALSACraig Dooley
The NULL termination was wrong when triggered from ALSA, due to trigger_watchdog passing strlen (without NULL) as the count. The explicit NULL termination here would overwrite the last character, but strscpy is supposed to use the full size of the destination buffer and handle NULL termination itself. Bug: 309902598 Change-Id: I9cf91660a5fd85fdcc2589dafa5f3c8af4e0fdb8 Signed-off-by: Craig Dooley <dooleyc@google.com>
2023-11-17Add entries fore new BT channel in aoc_chan.Luis Delgado de Mendoza
This CL adds the necessary entries in the aoc_chan driver to handle the new channel that will be used by BT. Bug: 308452948 Test: Validated locally. Change-Id: I4227029dbdbaa56858d6a45b1970dc65e9599db6 Signed-off-by: Luis Delgado de Mendoza <luisddmg@google.com>
2023-11-17aoc: remove spatial capture control during stream open/closeyixuanjiang
move spatial eanble control to mixer control from HAL Bug: 278650628 Change-Id: Ic8b186235ce7ffe884b82a958faddd013fba7930 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-11-13aoc: gracefully handle coredump corrupt caseandroid-u-qpr2-beta-2_r0.7android-u-qpr2-beta-2_r0.5android-u-qpr2-beta-2_r0.4android-u-qpr2-beta-2_r0.3android-u-qpr2-beta-2_r0.2android-u-qpr2-beta-2_r0.1Alex Iacobucci
Test: on device Bug: 307383094 Change-Id: Id474c099fa8392e3379b7a2a8861bf508951352a Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-11-07aoc: clean aoc_platform_device if probe failyixuanjiang
It cause next probe fail after DEFER Bug: 303681990 Change-Id: I40bc1808f3ad3ed5367af24747ead6a6ee851f0c Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-10-30aoc: get crash info string on coredump corruptAlex Iacobucci
Test: on device Bug: 307383094 Change-Id: I9a1949810a1cf8352d6708a1759053e36e1fb921 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-10-20aoc: sync aoc_module_parametersGuan-Yu Lin
Change the struct of aoc_moldule_parameters so that we can access the up-to-date value all the times. Bug: 303187479 Test: trigger AoC SSR multiple times by aocutil reset Change-Id: I6f5d8cc27560049273cf32d08ce42964349eac5b Signed-off-by: Guan-Yu Lin <guanyulin@google.com> (cherry picked from commit 01fbb47b203b19d46890270475196320b4b30ca3)
2023-10-16Merge android13-gs-pixel-5.10-udc-qpr1 into android13-gs-pixel-5.10-24Q1PixelBot AutoMerger
Bug: 300854197 SBMerger: 571992243 Change-Id: I892f6aa147f6cb4e7f81e2ce4dcb1f0504b2e1d4 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-10-12aoc: prevent out of range on find_ramdump_sectionandroid-u-qpr1-beta-2.2_r0.6android-u-qpr1-beta-2.2_r0.5android-u-qpr1-beta-2.2_r0.4android-u-qpr1-beta-2.2_r0.3android-14.0.0_r0.44android-14.0.0_r0.43android-14.0.0_r0.42android-14.0.0_r0.41android-14.0.0_r0.40android-14.0.0_r0.39android-14.0.0_r0.37android-14.0.0_r0.36android-14.0.0_r0.35android-14.0.0_r0.34android-14.0.0_r0.33android-14.0.0_r0.31android-14.0.0_r0.25android-14.0.0_r0.23android-14.0.0_r0.21android-gs-tangorpro-5.10-android14-qpr1-betaandroid-gs-tangorpro-5.10-android14-qpr1android-gs-raviole-5.10-android14-qpr1android-gs-pantah-5.10-android14-qpr1-betaandroid-gs-pantah-5.10-android14-qpr1android-gs-lynx-5.10-android14-qpr1-betaandroid-gs-lynx-5.10-android14-qpr1android-gs-felix-5.10-android14-qpr1-betaandroid-gs-felix-5.10-android14-qpr1android-gs-bluejay-5.10-android14-qpr1yixuanjiang
when coredump is corrupt, the value of num_sections from ramdump_header may larger than the number of sections. Out of range access will cause the KP. Bug: 302929196 Change-Id: I423886cb8223617d84cf1b21231a914c70a30dd2 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-10-11Merge android13-gs-pixel-5.10-udc-qpr1 into android13-gs-pixel-5.10-24Q1PixelBot AutoMerger
Conflict files: aoc.c Bug: 300854197 SBMerger: 571992243 Change-Id: I4f8cbdab0ca7783ac37cbfc5fb326de12703d481 Signed-off-by: Pindar Yang <pindaryang@google.com>
2023-10-06aoc: major refactorAlex Iacobucci
Test: on device Bug: 297923758 Change-Id: I9cf221a8673fd87884043d4c6472c07ef90e11d5 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-10-03aoc: Disable SysMMU interrupts during GSA unloadedandroid-u-qpr1-beta-2.2_r0.2android-u-qpr1-beta-2.2_r0.1android-u-qpr1-beta-2.1_r0.7android-u-qpr1-beta-2.1_r0.4android-u-qpr1-beta-2.1_r0.3android-u-qpr1-beta-2.1_r0.2android-14.0.0_r0.22android-14.0.0_r0.19android-gs-tangorpro-5.10-u-qpr1-beta2android-gs-raviole-5.10-android14-qpr1-betaandroid-gs-pantah-5.10-u-qpr1-beta2android-gs-lynx-5.10-u-qpr1-beta2android-gs-felix-5.10-u-qpr1-beta2android-gs-bluejay-5.10-android14-qpr1-betayixuanjiang
It has chance hit KP when GSA unload FW and AoC SSR then write coredump to dram without permission. Also sync irq control flow with watchdog_irq. Bug: 297627980 Change-Id: Idbfb71e2b729719ef5e93f9b68d6022396fa580a Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-09-25Merge android13-gs-pixel-5.10-udc-qpr1 into android13-gs-pixel-5.10-24Q1android-u-qpr2-beta-1_r0.6android-u-qpr2-beta-1_r0.5android-u-qpr2-beta-1_r0.4android-u-qpr2-beta-1_r0.3android-u-qpr2-beta-1_r0.2android-u-qpr2-beta-1_r0.1PixelBot AutoMerger
Bug: 300854197 SBMerger: 558810260 Change-Id: Ia0c91cabf4df69e46de4f00dda6b062ec38a5e40 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-09-21audio: support the VoIP reuse for the incall_cap0 EPandroid-u-qpr1-beta-2.1_r0.5android-u-qpr1-beta-2.1_r0.1android-gs-raviole-5.10-u-qpr1-beta2android-gs-bluejay-5.10-u-qpr1-beta2Carter Hsu
Bug: 299407821 Test: 1. Verified VoIP record(incall_cap0) only scenario on T6 Pro 2. Verified the live caption(incall_cap0) for voice-call on C10 3. atest VtsHalAudioV7_1TargetTest Change-Id: Ib1c3e9760390d8a733b1027210ff1561d55256b4 Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-09-20alsa: check the consumed data size in irq process functionsmillerliang
The ALSA pcm lib driver assumes one period data was consumed in the snd_pcm_update_hw_ptr0 function when updating the hw_ptr. Update the hw_ptr if the consumed data size is equal to or bigger than one period size. Bug: 295546940 Test: Local test Change-Id: I668c4272dbccb08fe7c46105b3c74b3a64bdd2d5 Signed-off-by: millerliang <millerliang@google.com>
2023-09-13alsa: support dynamic stream type for pcm playbackmillerliang
Set the stream type for pcm playback to mmaped if runtime->access is SNDRV_PCM_ACCESS_MMAP_INTERLEAVED. Bug: 283402753 Test: Playback and Record Change-Id: Ib62931a42364089b44b32289b661a4798c0e23f4 Signed-off-by: millerliang <millerliang@google.com> (cherry picked from commit d86f91a0e010d078d499184135fc460d3ecb30ab)
2023-08-11alsa: set the workqueue to null after destroying itandroid-u-qpr1-beta-2_r0.7android-u-qpr1-beta-2_r0.5android-u-qpr1-beta-2_r0.4android-u-qpr1-beta-2_r0.3android-u-qpr1-beta-2_r0.2android-u-qpr1-beta-2_r0.1android-u-qpr1-beta-1_r0.7android-u-qpr1-beta-1_r0.5android-u-qpr1-beta-1_r0.4android-u-qpr1-beta-1_r0.3android-u-qpr1-beta-1_r0.2android-u-qpr1-beta-1_r0.1millerliang
In mmap playback, it would destory the workqueue during AoC SSR. Set the workqueue to null after destroying it to avoid acesss after freed in pcm close. Bug: 295074657 Change-Id: I258f124b3e8daaf9f160ec960f5ec86fd8f6227c Signed-off-by: millerliang <millerliang@google.com>
2023-08-01aoc: increase service limit to 96Alex Iacobucci
Bug: 293828277 Test: tested on device Change-Id: Ic8ad9a4a2ae8c4f032ea4d19a04d3f49161957cf Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-07-26audio: support more channels capture and the APMG3 modeCarter Hsu
Bug: 292144567 Test: verified on test build Change-Id: I3a106431d4ce3468c8da262181d6ee6628848311 Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-07-19aoc/alsa: use a single workqueue to update hw_ptrmillerliang
If other process blocks the cpu too long in the common work queue, the updating hw_ptr function cannot be executed on time. Use a single workqueue to avoid it. Bug: 289577164 Change-Id: I48853bb94ca816d77a5f32c2a1ff0927bc2b04e2 Signed-off-by: millerliang <millerliang@google.com> (cherry picked from commit 0e40ca7fca8a1a4a31e5f3ef74cbd0cac070a654)
2023-07-14aoc: configure iommu from fw headersAlex Iacobucci
Bug: 282063178 Test: tested on device Change-Id: I4c867c878683d1aa42d7493c74eda085502c5bf2 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-07-09Merge android13-gs-pixel-5.10-udc into android13-gs-pixel-5.10-udc-qpr1PixelBot AutoMerger
SBMerger: 526756187 Change-Id: I8a2bc57fe0e57bc5cd708d222924404bc269d497 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-07-07aoc: don't overwrite crash reason on invalid magicAlex Iacobucci
Bug: 286990893 Test: tested on device Change-Id: I4bc8acd5a004091be187606ed0260120e96be6ea Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-07-06aoc: add check on kzallocAlex Iacobucci
Bug: 289710588 Test: tested on device Change-Id: I89a5f62cfa80e21479e6b62bc722ddf6c5e97513 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-06-30aoc: Fix the device check for power commands in aoc_channel_dev.android-u-beta-5.3_r0.7android-u-beta-5.3_r0.5android-u-beta-5.3_r0.4android-u-beta-5.3_r0.2android-u-beta-5.3_r0.1android-14.0.0_r0.7android-14.0.0_r0.6android-14.0.0_r0.5android-14.0.0_r0.4android-14.0.0_r0.3android-14.0.0_r0.2android-14.0.0_r0.17android-14.0.0_r0.16android-14.0.0_r0.15android-14.0.0_r0.14android-14.0.0_r0.13android-14.0.0_r0.11android-gs-tangorpro-android14-releaseandroid-gs-tangorpro-5.10-u-beta5.3android-gs-tangorpro-5.10-android14android-gs-raviole-android14-releaseandroid-gs-raviole-5.10-u-beta5.3android-gs-raviole-5.10-android14android-gs-pantah-android14-releaseandroid-gs-pantah-5.10-u-beta5.3android-gs-pantah-5.10-android14android-gs-lynx-android14-releaseandroid-gs-lynx-5.10-android14android-gs-felix-android14-releaseandroid-gs-felix-5.10-u-beta5.3android-gs-felix-5.10-android14android-gs-bluejay-android14-releaseandroid-gs-bluejay-5.10-u-beta5.3android-gs-bluejay-5.10-android14Luis Delgado de Mendoza
CTS Sensor/DeviceSuspendTests was failing because the device fails to enter the suspend state. Bug: 288985122 Fix: 288985122 Test: Validated CTS passes. Change-Id: I1cfdae577e8e3636795afc9b900b50585db6da5a Signed-off-by: Luis Delgado De Mendoza <luisddmg@google.com>
2023-06-18Merge android13-gs-pixel-5.10-udc into android13-gs-pixel-5.10-udc-qpr1PixelBot AutoMerger
SBMerger: 526756187 Change-Id: I9e65ac9827d1bc59c0f760fb4e117d96026c276a Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-06-15aoc: fix retrieving ramdump crash infoandroid-u-beta-4_r0.4android-u-beta-4_r0.3android-u-beta-4_r0.2android-gs-pantah-5.10-u-beta4android-gs-lynx-5.10-u-beta4android-gs-felix-5.10-u-beta4Alex Iacobucci
Bug: 287265271 Test: tested on device Change-Id: I3c165fe2719d5d667a8e020d947e2ebcc47a5bdc Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-06-11Merge android13-gs-pixel-5.10-udc into android13-gs-pixel-5.10-udc-qpr1PixelBot AutoMerger
SBMerger: 526756187 Change-Id: If9309e45a758da9b5ff385e497f019facf0bc905 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-06-08aoc/alsa: do not queue a work if cancel_work_sync is in progressandroid-u-beta-4_r0.7android-u-beta-4_r0.5android-u-beta-4_r0.1android-gs-tangorpro-5.10-u-beta4android-gs-raviole-5.10-u-beta4android-gs-bluejay-5.10-u-beta4millerliang
Do not queue a work if the cancel_work_sync is in progress. Bug: 284055134 Change-Id: I7e2a5b12ccd6cc28b23f15ea65fe4d66fe379b25 Signed-off-by: millerliang <millerliang@google.com>
2023-06-04Merge android13-gs-pixel-5.10-udc into android13-gs-pixel-5.10-udc-qpr1PixelBot AutoMerger
SBMerger: 526756187 Change-Id: I716c6b56263ba4763860880135b07d87e2e8fa91 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-06-01Only send channel service power commands to usf service.Luis Delgado de Mendoza Garcia
The USF service propagates these power commands to the other entities that need to act on it so there is only a need to send it to the wakeup USF service and the others will react accordingly. There is also no need to propagate this message to the USF non-wake-up channel because USF makes the necessary changes internally when the command is received in either channel. Bug: 283488727 Test: in-device verification. Change-Id: Ic9dc011c22498acc3cfa79e04397b5352afedc3d
2023-05-26Merge android13-gs-pixel-5.10-udc to android13-gs-pixel-5.10-udc-qpr1Wilson Sung
Bug: 277560840 Change-Id: I5b8bdeaa4c34f0333a841e86dcd48833b72353e9 Signed-off-by: Wilson Sung <wilsonsung@google.com>
2023-05-22aoc: dynamically compute ramdump offsetsAlex Iacobucci
Bug: 283492323 Test: tested on device Change-Id: I1cbbe5aca89a1420841f50362783e001a22fc1d7 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-05-19aoc: make ramdump size platform dependentAlex Iacobucci
Bug: 283492323 Test: tested on device Change-Id: I18bab98d778892ceed377186d1d02a9b0f9e06d7 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-05-18aoc/alsa: Check dev data within service_lockyixuanjiang
Prevent hit NULL pointer during aoc crash. Bug: 282328516 Change-Id: Iad9358fe1ce7731279385294425a6f795bc5ec48 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-05-11aoc: add a debug print for prvdata pointerandroid-u-beta-3_r0.3android-u-beta-3_r0.2android-u-beta-2.1_r0.4android-u-beta-2.1_r0.3android-u-beta-2.1_r0.2android-gs-raviole-5.10-u-beta3android-gs-raviole-5.10-u-beta2android-gs-pantah-5.10-u-beta2android-gs-bluejay-5.10-u-beta3android-gs-bluejay-5.10-u-beta2Alex Iacobucci
Bug: 279944255 Test: tested on device Change-Id: Iefc5fd83f00f5b54c4ff4feee1e65b1571240721 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-05-09aoc: handle when crash string is emptyAlex Iacobucci
Bug: 281075359 Test: tested on device Change-Id: I017085b59837d885525106bccb97f0687c4df473 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-05-04Allow chre channels to be MUXed.Luis Delgado de Mendoza Garcia
This CL adds the chre channels to the list of channels handled by the MUX. CHRE needs the MUX to keep 100% feature parity with what they have running through USF. Bug: 279597610 Test: in-device verification. Change-Id: Ib60f89792dcb48f6c35cfed9eb85f52c4e65a4c0 Signed-off-by: Luis Delgado de Mendoza Garcia <luisddmg@google.com>
2023-04-27audio: support hotword tap.Rios Kao
note: Add a new aoc service. Which would provide hotword pipeline in aoc to pcm driver. Add new mixer ctl for hotword_tap enabling. Hotword tap only lands for 201 or newer. Bug: 277194544 Test: manually test end-to-end on device Change-Id: I859574eedb3887857bb809bb824b0dd545058f02 Signed-off-by: Rios Kao <rioskao@google.com>
2023-04-27aoc/alsa: free isr handler before clearing workqueuemillerliang
Free the irs handler to stop triggering the irq process function before clearing the work queue. Add null check in the irq process functions. Bug: 279317502 Change-Id: I55bdb88177132b29af94e54804ff38e573d4a86c Signed-off-by: millerliang <millerliang@google.com>
2023-04-26aoc: update gs201 interface to the most recentAlex Iacobucci
Bug: 279670904 Test: tested on device Change-Id: I5cff7e9db40ebfbc44b47c76c88d0d0a841c1134 Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-04-17aoc/alsa: modify isr handler configuration flowandroid-u-beta-2_r0.4android-u-beta-2_r0.3android-u-beta-2_r0.2millerliang
Set the isr process functions in alloc_aoc_audio_service and free the handler in free_aoc_audio_service Bug: 277633636 Change-Id: If4f613a4f8bc0d080987c88362de32d0e939a636 Signed-off-by: millerliang <millerliang@google.com>
2023-04-14Merge "Merge android13-gs-pixel-5.10-tm-qpr3 into ↵Pindar Yang
android13-gs-pixel-5.10-udc" into android13-gs-pixel-5.10-udc
2023-04-13Merge android13-gs-pixel-5.10-tm-qpr3 into android13-gs-pixel-5.10-udcPindar Yang
Bug: 255246572 Change-Id: I3a1d12a084afc583c0e307ecb55e2beaf6ca7012 Signed-off-by: Pindar Yang <pindaryang@google.com>