summaryrefslogtreecommitdiff
path: root/sound_card_init/dsm/src/utils.rs
AgeCommit message (Collapse)Author
2021-08-03Remove all files except OWNERS.HEADandroid-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-3android-s-v2-beta-2android-s-qpr3-beta-1android-s-beta-5mastermainandroid-t-preview-1android-s-v2-preview-1android-s-v2-beta-3android-s-qpr3-beta-1android-s-beta-5Andrew Walbran
This repository will be removed from the manifest change, but Treehugger seems unable to test the manifest change, so this change first removes all files so we can test that instead. Bug: 190503456 Test: m crosvm Change-Id: I133ef3bd8b39035a68113c4da8fe4c637a40daac
2021-01-28sound_card_init: extract common DSM calibration logicJudy Hsiao
1. Extract common DSM calibration logic to `dsm` crate to reduce the code duplication of deciding the calibration values. 2. Define `Amp` and `AmpBuilder` in `amp` crate to reduce the similar code of Amp creation. 3. Rewrite Max98390 by using the `dsm` and `amp` crate. BUG=b:157210111 TEST=/usr/bin/sound_card_init --id=sofcmlmax98390d TEST=tast run ${DUT_IP} soundcardinit.Max98390.* Cq-Depend: chromium:2598521 Change-Id: I6a85bcf36f3b60da7328a5e6266c358c295955e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2595661 Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> Reviewed-by: Judy Hsiao <judyhsiao@chromium.org> Tested-by: Judy Hsiao <judyhsiao@chromium.org> Commit-Queue: Judy Hsiao <judyhsiao@chromium.org>