diff options
author | Chao Song <[email protected]> | 2023-08-14 18:15:19 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-08-15 13:54:56 +0100 |
commit | a942409c97ce12c2a4811b538568b1342d91e56c (patch) | |
tree | c754ff48a9f9986849a91d811bca4b91ec622392 /drivers/fpga/fpga-bridge.c | |
parent | c5556d8651b4c58e0d9894be5a0188c9c90ce899 (diff) |
ASoC: SOF: Intel: Refactor code for HDA stream creation
Existing HDA stream creation is split into two
for loops for capture and playback, but most of
the code in the two for loops are duplicated.
This patch refactors HDA stream creation with a
single for loop, thus remove code duplication.
No functional change in this patch.
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Signed-off-by: Chao Song <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions