Richard Fitzgerald d52ed4b0bc
ASoC: wm_adsp: Parse HOST_BUFFER controls
Currently the compressed streams in DSP firmwares are
identified essentially by looking at a fixed location inside
the firmware. This is fragile and also limits things to a
single compressed stream.

Here a new form of firmware parameter is added, the HOST_BUFFER
which identifies a compressed stream from meta-data in the
firmware file. This is more robust and allows for the possiblity
of using multiple streams per core in the future. Currently the
implementation is still limited to a single stream and will
use the first HOST_BUFFER parameter encountered. If there aren't
any HOST_BUFFER parameters it will fall back to the legacy way
of finding the host buffer.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-07-19 15:11:56 +01:00
..
2018-06-29 12:05:05 +01:00
2017-09-04 14:50:49 +02:00
2018-06-15 18:10:01 -03:00
2018-06-15 18:10:01 -03:00
2018-06-12 16:19:22 -07:00
2017-11-13 15:45:57 +01:00
2018-06-07 12:34:37 -07:00
2018-06-15 18:10:01 -03:00
2017-11-13 15:45:57 +01:00
2018-06-15 17:24:40 +09:00
2018-05-31 09:11:03 +02:00