Skip to content
Snippets Groups Projects

BL_INTERNAL: sound: codecs: tas2562: refactor volume control get function

Open Vitor Sato Eschholz requested to merge vsatoes/MAN-236 into mtk-android12-5.10
1 unresolved thread

tas2562_volume_control_get() assumes that Digital Volume is only changed using the correspondent ALSA Control. However, it can also be changed by directly writing to DVC_CFG[1-4] registers, or by a software reset.

To ensure tas2562_volume_control_get() returns the current digital volume level of the amplifier, update the function so that it reads the registers instead of returning the data internally stored.

Signed-off-by: Vitor Sato Eschholz vsatoes@baylibre.com

Closes MAN-236

Merge request reports

Ready to merge by members who can write to the target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading