diff options
| author | Charles Keepax <[email protected]> | 2018-06-20 11:56:21 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-06-20 12:18:12 +0100 |
| commit | 7f7cca08abf4c6c58ff1037cff5beec5a10a7da3 (patch) | |
| tree | 5c424bc483d29e451e312d69eeb4073191bb01fa /tools/perf/scripts/python/netdev-times.py | |
| parent | 244e293690a6e07cbdfa11af1977488d91931eed (diff) | |
ASoC: wm_adsp: Simplify handling of alg offset and length
The current code that reads the algorithm list from the DSP is
somewhat unclear, it converts directly from bytes to registers using
a hard coded divide by 2. Most offsets are usually handled in DSP
words within the driver and there is a function specifically for
converting from words to register addresses. So update the handling
to use these. This also removes the assumption that the registers
are 16-bit word addressed, which will no longer be true on some of
our newer parts.
Signed-off-by: Charles Keepax <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions