Commit 454fde2
committed
ASoC: SOF: Intel: reset SPIB in hda_data_stream_cleanup
The register will indicate to the host DMA where the position is in the
buffer currently processed by host SW. Reset it to 0 in
hda_data_stream_cleanup. The register is ignored by the host DMA if SPIB
is disabled. That's why the "enable" parameter needs to be
HDA_DSP_SPIB_ENABLE.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent b309a4a commit 454fde2
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | | - | |
| 1327 | + | |
| 1328 | + | |
1328 | 1329 | | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
1332 | 1344 | | |
1333 | 1345 | | |
1334 | 1346 | | |
| |||
0 commit comments