diff options
author | 2019-05-07 18:12:18 +0800 | |
---|---|---|
committer | 2019-05-08 17:11:53 +0900 | |
commit | bdb8fa6b09a801a6cbe3c2487f0228860f9c5aba (patch) | |
tree | e1605a3c2d013c4c5bfd1e690688bf2713871629 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: SOF: core: fix undefined nocodec reference (diff) | |
download | wireguard-linux-bdb8fa6b09a801a6cbe3c2487f0228860f9c5aba.tar.xz wireguard-linux-bdb8fa6b09a801a6cbe3c2487f0228860f9c5aba.zip |
ASoC: mediatek: mt6358: initialize setting when ramping volume
Mt6358 ramps up from the smallest volume (i.e. -10dB) to target dB when
opening and ramps down from target dB to mute (i.e. -40dB) when closing.
If target is equal to -10dB when opening, headset_volume_ramp() simply
leaves current setting (which may not be -10dB) unchanged.
Execute the loop at least once to initialize the setting to the
starting point (i.e. from).
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions