diff options
author | Bard Liao <[email protected]> | 2024-05-09 11:34:18 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-05-10 07:11:50 +0100 |
commit | 4c11132a886ea93865e205e2d92d810722237b48 (patch) | |
tree | 6b1e35192e03c1744bf2743c70a4963e1234d33d /lib/memory-notifier-error-inject.c | |
parent | 84e0a19adb73d7cec5a43e02f9e2d2aafc5c7176 (diff) |
ASoC: Intel: sof_sdw_rt_amp: use dai parameter
get_codec_name_and_route() get dai name from the first codec dai in a dai
link. However, the dai may not always be the first codec dai. Use the
dai parameter to make sure get_codec_name_and_route() refers to the
correct dai.
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Bard Liao <[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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions