diff options
| author | 2018-06-20 11:56:21 +0100 | |
|---|---|---|
| committer | 2018-06-20 12:18:12 +0100 | |
| commit | 7f7cca08abf4c6c58ff1037cff5beec5a10a7da3 (patch) | |
| tree | 5c424bc483d29e451e312d69eeb4073191bb01fa /scripts | |
| parent | ASoC: pcm: Tidy up open/hw_params handling (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 <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
