mbox series

[0/3] ASoC: mediatek: mt6358: fix mixer control issues

Message ID 20190507101220.182466-1-tzungbi@google.com (mailing list archive)
Headers show
Series ASoC: mediatek: mt6358: fix mixer control issues | expand

Message

Tzung-Bi Shih May 7, 2019, 10:12 a.m. UTC
This series fixes the following mixer control related issues:
- "Headphone Volume" and "PGA Volume" have been reset after previous
  stream closed.
- Set "Headphone Volume" to the smallest value (-10dB) still get mute,
  because ramp from -10dB to -10dB is a NOP in original implementation.

"Lineout Volume" and "Handset Volume" are un-tested.  Fixing them by
applying similar logic with "Headphone Volume".

Tzung-Bi Shih (3):
  ASoC: mediatek: mt6358: initialize setting when ramping volume
  ASoC: mediatek: mt6358: save output volume for mixer controls
  ASoC: mediatek: mt6358: save PGA for mixer control

 sound/soc/codecs/mt6358.c | 131 ++++++++++++++++++++++++--------------
 1 file changed, 83 insertions(+), 48 deletions(-)