diff options
author | Keyon Jie <yang.jie@linux.intel.com> | 2019-05-24 14:09:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-28 15:48:27 +0100 |
commit | 5661ad9490ee4abdb27295880e524acc656c89e7 (patch) | |
tree | 10d9e0ed31b7c5135b55af8ce7f623f3500face0 /sound/soc/sof/ipc.c | |
parent | fab4edf42d2d68d0aa67822650174dcd0ee25ffa (diff) | |
download | linux-5661ad9490ee4abdb27295880e524acc656c89e7.tar.bz2 |
ASoC: SOF: control: correct the copy size for bytes kcontrol put
The size for the bytes kcontrol should include the abi header, that is,
data->size + sizeof(*data), it is also aligned with get method after
this change.
Fixes: c3078f53970 ("ASoC: SOF: Add Sound Open Firmware KControl support")
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc.c')
0 files changed, 0 insertions, 0 deletions