ASoC: SOF: Fix probe point getter
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 9 Mar 2020 14:21:24 +0000 (15:21 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2020 13:50:59 +0000 (13:50 +0000)
commita3b7343e3f8c4c74516df41827b6d81905e346a1
tree847743e4f4ff64e5329d516603913799727e6260
parent62f9ed5f8768d2425461737d77b83f888b525c06
ASoC: SOF: Fix probe point getter

Firmware API changes which introduced 'num_elems' param in several probe
structs such as sof_ipc_probe_dma_add_params also impacted getter for
both, DMA and probe points. All struct handlers except for
sof_ipc_probe_info_params have been updated. Align said handler too to
calculate payload size correctly.

Fixes: f3b433e4699f ("ASoC: SOF: Implement Probe IPC API")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200309142124.29262-1-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/probe.c