Charles Keepax 7f7cca08ab
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>
2018-06-20 12:18:12 +01:00
..
2018-06-05 16:51:55 +02:00
2018-06-18 12:55:16 +01:00
2018-06-18 12:54:38 +01:00
2018-01-10 16:42:10 +00:00
2018-05-17 15:46:22 +09:00
2018-03-14 09:35:29 -07:00
2018-05-09 18:38:23 +09:00
2018-06-12 16:19:22 -07:00
2018-05-09 18:39:07 +09:00
2018-05-09 18:39:07 +09:00