diff options
author | Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com> | 2018-09-24 14:20:32 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2018-10-29 11:10:38 +0800 |
commit | 7d27ba1bb03c67d078f03ea82b16848743b9b6b9 (patch) | |
tree | ba6c6b35250fd2db54815cbdd34af09ca56cc204 /drivers/media/platform | |
parent | 2c369d49889c43534b7701b2fa905371fa38339f (diff) |
MLK-19617 sound: asoc: fix amixer output gain control
This bitfield represents a signed value gain and 0-7 represents +0 to +7
bits shift for output gain and 8-15 represents -8 to -1 bits shift for
output gain. Before this fix 0-47% was translated into 0 to +100% and
47% - 100% was translated into -100% to 0%.
We have added gain controls that remaps the each channel gain values
such that we go from lowest volume to highest.
Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions