Commit 5a286c8
audio: base_fw_intel: fix incorrect DAI type usage
We have two enums with DAI types: enum sof_ipc_dai_type in SOF and
enum dai_type in Zephyr. dai_get_device() expects the SOF
enum sof_ipc_dai_type and then internally converts it to the Zephyr
enum dai_type.
This fix does not change any behavior as both DAI_INTEL_SSP and
SOF_DAI_INTEL_SSP are currently declared as 1. However, there is a risk
that those enums might go out of sync in the future.
Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>1 parent 2925c4b commit 5a286c8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
0 commit comments