summaryrefslogtreecommitdiffstats
path: root/Documentation/livepatch
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@google.com>2019-05-07 12:12:18 +0200
committerMark Brown <broonie@kernel.org>2019-05-08 10:11:53 +0200
commitbdb8fa6b09a801a6cbe3c2487f0228860f9c5aba (patch)
treee1605a3c2d013c4c5bfd1e690688bf2713871629 /Documentation/livepatch
parentASoC: SOF: core: fix undefined nocodec reference (diff)
downloadlinux-bdb8fa6b09a801a6cbe3c2487f0228860f9c5aba.tar.xz
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 '')
0 files changed, 0 insertions, 0 deletions