Commit 20db974
committed
ASoC: SOF: Intel: hda-mlink/lnl: Convert offload enable functions to void
hdac_bus_eml_enable_offload() can only fail in case the IP is not enabled
in the platform, which is not really an error as the ACE IP can be
configured differently when integrated into a specific SoC.
While it is unlikely, but it is a valid configuration that for example the
DMIC is disabled.
In this case we will just skip setting the offload for a link that is not
present.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent b309a4a commit 20db974
3 files changed
Lines changed: 19 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
991 | | - | |
| 991 | + | |
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
| 997 | + | |
| 998 | + | |
1002 | 999 | | |
1003 | 1000 | | |
1004 | 1001 | | |
1005 | 1002 | | |
1006 | 1003 | | |
1007 | | - | |
1008 | | - | |
1009 | 1004 | | |
1010 | 1005 | | |
1011 | 1006 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 26 | + | |
| 27 | + | |
39 | 28 | | |
40 | 29 | | |
41 | 30 | | |
| |||
46 | 35 | | |
47 | 36 | | |
48 | 37 | | |
49 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
50 | 41 | | |
51 | 42 | | |
52 | 43 | | |
53 | 44 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 45 | + | |
61 | 46 | | |
62 | 47 | | |
63 | 48 | | |
| |||
69 | 54 | | |
70 | 55 | | |
71 | 56 | | |
72 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
73 | 60 | | |
74 | 61 | | |
75 | 62 | | |
| |||
80 | 67 | | |
81 | 68 | | |
82 | 69 | | |
83 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
84 | 73 | | |
85 | 74 | | |
86 | 75 | | |
| |||
0 commit comments