Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 214c86e5 authored by Jindong Yue's avatar Jindong Yue Committed by Mikhail Naganov
Browse files

audio: Add warning log for unmatched mixer values



Compare the mixer control values set by the user with the values
retrieved from the hardware, and log a warning if they do not match.

This check is meaningful because of the integer division involved in
converting between percentage and hardware values in tinyalsa, which
can lead to small discrepancies due to rounding.

Bug: 375030900
Test: build locally
Change-Id: If396a5cedc768f2bab5db055b5cf875143e3c23b
Signed-off-by: default avatarJindong Yue <jindong.yue@nxp.com>
parent 5c7e78b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment