aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <[email protected]>2019-05-07 10:12:18 +0000
committerMark Brown <[email protected]>2019-05-08 08:11:53 +0000
commitbdb8fa6b09a801a6cbe3c2487f0228860f9c5aba (patch)
treee1605a3c2d013c4c5bfd1e690688bf2713871629 /drivers/fpga/fpga-bridge.c
parentASoC: SOF: core: fix undefined nocodec reference (diff)
downloadkernel-bdb8fa6b09a801a6cbe3c2487f0228860f9c5aba.tar.gz
kernel-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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions