]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Rename memory fields in wm_adsp_buffer
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 19 Oct 2018 12:25:15 +0000 (13:25 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 19 Oct 2018 12:30:49 +0000 (13:30 +0100)
commit75ec86c283e52f954cc0b5415dd37214ebd38d86
treed4c4d6a5afd11c30561e362ff3e7ce58f1a37dec
parent59496776865e78c8f93dc039fbb7167a2aeb527a
ASoC: wm_adsp: Rename memory fields in wm_adsp_buffer

The wm_adsp_buffer struct is the control header of a circular
buffer used to transfer data from the firmware over the
control interface to an ALSA compressed stream.

The original names of the fields pointing to the data buffer
were based on ADSP2V2 memory layout where they correspond to
{XM, XM, YM}. But this circular buffer could be used on other
types of DSP core that have different memory region types.
Also the names and description of the size fields were not
very clear. The field names and descriptions have been changed
to be generic and not imply any particular memory types.

This patch updates the wm_adsp driver to the new field names.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c