diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-03-13 14:03:39 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-13 17:06:49 +0300 |
commit | 76fc628aebdb452e3c620d9ff5c5e9448d316754 (patch) | |
tree | 139a1f8ce53a42a1ad6a26af80fd9be0ddf0db7d /include/uapi/sound | |
parent | 3eac8de3f51b3567c4ba6139736b59027da56285 (diff) | |
download | linux-76fc628aebdb452e3c620d9ff5c5e9448d316754.tar.xz |
ASoC: SOF: ipc3-control: Merge functions to handle bytes_ext get variants
The code for bytes_ext_get and bytes_ext_volatile_get is identical with
the only difference is that in case of volatile_get we refresh the data
from the DSP before returning it to user space.
Convert the callbacks to a simple wrapper for the same function.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20230313110344.16644-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/sound')
0 files changed, 0 insertions, 0 deletions