Commit 31869e9
committed
fixup! ASoC: SOF: Intel: use sof_sdw as default SDW machine driver
We can't use default SDW machine driver if links[link_index].adr_d is
null. Also, add a paranoid check to avoid kernel NULL pointer
dereference.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent 2055aa8 commit 31869e9
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
1187 | 1196 | | |
1188 | 1197 | | |
1189 | 1198 | | |
| |||
1391 | 1400 | | |
1392 | 1401 | | |
1393 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
1394 | 1405 | | |
1395 | 1406 | | |
1396 | 1407 | | |
| |||
0 commit comments