diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2024-04-26 11:57:32 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-30 00:09:51 +0900 |
commit | cdcb770a60e8e6b9fbb737ebe21b2daadaba1744 (patch) | |
tree | 61ee8d594fd0afe5a77e6ee382f186eea358a8a3 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 0f8843ca4f6cbf0efb8c2d5516a3b92fb2771a04 (diff) |
ASoC: Intel: avs: Store pointer to link_stream in dma_data
While the HDAudio codec driver expectations must be met - store valid
pointer to HDAudio LINK stream in substream->runtime->private_data - the
code is more readable and easier to maintain if dma_data stores pointers
to both HOST and LINK stream.
DAI BE operations can refer to the LINK stream with data->link_stream,
similarly to how DAI FE operations access the HOST stream with
data->host_stream.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20240426095733.3946951-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions