diff options
author | 2013-11-14 11:35:31 +0200 | |
---|---|---|
committer | 2013-12-10 11:22:16 +0000 | |
commit | 487dce8823cdcb70e645e5312a0d4f7081e1ad13 (patch) | |
tree | 0ad7ab39c4066e48c2eee00d000afc5366c22fc2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: davinci-mcasp: Be consistent with the use of base in davinci_mcasp_set_dai_fmt (diff) | |
download | wireguard-linux-487dce8823cdcb70e645e5312a0d4f7081e1ad13.tar.xz wireguard-linux-487dce8823cdcb70e645e5312a0d4f7081e1ad13.zip |
ASoC: davinci-mcasp: Simplify FIFO configuration code
The FIFO registers base address is different in dm646x compared to newer
SoCs with McASP IP. Instead of using two paths (switch/case) to handle the
difference we can simply pick the correct base address beforehand and use
offsets to address the register we need to configure.
With this change the indentation depth can be reduced as well.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions