linux_dsm_epyc7002/sound/soc/intel
Cezary Rojewski 36004c42c7
ASoC: Intel: Skylake: large_config_get overhaul
LARGE_CONFIG_GET is mainly used to retrieve requested module parameters
but it may also carry TX payload with them. Update its implementation to
account for both TX and RX data.
First reply.header carries total payload size within data_off_sizefield.
Make use of reply.header to realloc returned buffer with correct size.

Failure of IPC request is permissive - error-payload may be returned, an
informative data why GET for given param failed - and thus function
should not collapse before entire processing is finished. Caller is
responsible for checking returned payload and bytes parameters.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20190808181549.12521-3-cezary.rojewski@intel.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-08-08 21:22:33 +01:00
..
atom Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
baytrail ASoC: Intel: Update request-reply IPC model 2019-08-07 14:26:02 +01:00
boards ASoC: intel: skl_hda_dsp_common: create HDMI jack kctl 2019-08-08 20:57:01 +01:00
common ASoC: Intel: Update request-reply IPC model 2019-08-07 14:26:02 +01:00
haswell ASoC: Intel: Update request-reply IPC model 2019-08-07 14:26:02 +01:00
skylake ASoC: Intel: Skylake: large_config_get overhaul 2019-08-08 21:22:33 +01:00
Kconfig Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
Makefile