Commit e70b8dd
ASoC: mediatek: mt8195: Remove afe-dai component and rework codec link
Remove the extra 'mt8195-afe-pcm-dai' component, register the DAI
drivers to the main AFE component, and rework the DAI linking between
the headset codec (RT5682/RT5682S) and the TDM interface in the probe
function to stop assigning name, relying on the of_node of the codec.
Also replace the COMP_DUMMY codec entry with a COMP_EMPTY for the
ETDM2_IN and remove it entirely from ETDM1_OUT to fix the registration
flow for this sound card.
While at it, since we also need to swap the codec init function from
ETDM2_IN to ETDM1_OUT, remove the static assignment of both `ops` and
`init` for both, as we now assign these dynamically during probe.
Fixes: 13f5826 ("ASoC: soc.h: don't create dummy Component via COMP_DUMMY()")
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>1 parent 4d4e1b6 commit e70b8dd
2 files changed
+29
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1795 | 1795 | | |
1796 | 1796 | | |
1797 | 1797 | | |
1798 | | - | |
1799 | | - | |
1800 | | - | |
1801 | | - | |
1802 | 1798 | | |
1803 | 1799 | | |
1804 | 1800 | | |
| |||
3037 | 3033 | | |
3038 | 3034 | | |
3039 | 3035 | | |
3040 | | - | |
3041 | 3036 | | |
3042 | 3037 | | |
3043 | 3038 | | |
| |||
3170 | 3165 | | |
3171 | 3166 | | |
3172 | 3167 | | |
3173 | | - | |
| 3168 | + | |
3174 | 3169 | | |
3175 | 3170 | | |
3176 | 3171 | | |
3177 | 3172 | | |
3178 | 3173 | | |
3179 | | - | |
3180 | | - | |
3181 | | - | |
3182 | | - | |
3183 | | - | |
3184 | | - | |
3185 | | - | |
3186 | | - | |
3187 | | - | |
3188 | | - | |
3189 | | - | |
3190 | | - | |
3191 | | - | |
3192 | | - | |
3193 | | - | |
3194 | | - | |
3195 | | - | |
3196 | | - | |
3197 | | - | |
3198 | | - | |
3199 | | - | |
3200 | | - | |
3201 | | - | |
3202 | | - | |
3203 | 3174 | | |
3204 | 3175 | | |
3205 | 3176 | | |
| |||
3224 | 3195 | | |
3225 | 3196 | | |
3226 | 3197 | | |
3227 | | - | |
3228 | | - | |
3229 | 3198 | | |
3230 | 3199 | | |
3231 | 3200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
937 | | - | |
| 937 | + | |
938 | 938 | | |
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
943 | 942 | | |
944 | 943 | | |
945 | 944 | | |
| |||
1237 | 1236 | | |
1238 | 1237 | | |
1239 | 1238 | | |
1240 | | - | |
1241 | | - | |
1242 | 1239 | | |
1243 | 1240 | | |
1244 | 1241 | | |
| |||
1249 | 1246 | | |
1250 | 1247 | | |
1251 | 1248 | | |
1252 | | - | |
1253 | 1249 | | |
1254 | 1250 | | |
1255 | 1251 | | |
| |||
1381 | 1377 | | |
1382 | 1378 | | |
1383 | 1379 | | |
1384 | | - | |
| 1380 | + | |
1385 | 1381 | | |
1386 | 1382 | | |
1387 | 1383 | | |
| |||
1401 | 1397 | | |
1402 | 1398 | | |
1403 | 1399 | | |
1404 | | - | |
| 1400 | + | |
| 1401 | + | |
1405 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
| |||
1488 | 1488 | | |
1489 | 1489 | | |
1490 | 1490 | | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
1494 | | - | |
1495 | | - | |
1496 | | - | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
1497 | 1512 | | |
1498 | 1513 | | |
1499 | 1514 | | |
| |||
0 commit comments