aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexander Stein <[email protected]>2015-04-16 14:51:57 +0200
committerMark Brown <[email protected]>2015-04-27 15:42:20 +0100
commit1f39d9397f8a27becd2b72009865610a71c64b0f (patch)
treedd736e870b699c31af2a2ce4a4e7f499dd070785 /tools/perf/scripts/python/export-to-postgresql.py
parentd2b7c2aaf7b565532c7d9937519b199fbca4a779 (diff)
ASoC: sgtl5000: Calculate Lineout Channel Output Level
Currently LO_VOL_* stays at it's default (0x4 each) but this should be calculated after setting VAG_VAL and LO_VAGCNTRL. LO_VOL_* = 40 * log10(VAG_VAL / LO_VAGCNTRL) + 15 To avoid the log10 operation a table for all valid register values is precalculated which contains the corresponding value (VAG_VAL * 100 / LO_VAGCNTRL). Signed-off-by: Alexander Stein <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions