Commit f104114
committed
dai-zephyr: call dma_stop() also if previous state is COMP_STATE_PAUSED
To ensure DMA is stopped in all cases, we need to call dma_stop()
also when the previous state is PAUSED.
With Zephyr commit ec9d94e06d4a ("dma: Document expected behavior of
start/stop") the dma interface semantics were clarified. Build on
this and call dma_stop() in all cases and make the code simpler to
follow.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent 567cafa commit f104114
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1102 | 1102 | | |
1103 | 1103 | | |
1104 | 1104 | | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
| 1105 | + | |
| 1106 | + | |
1108 | 1107 | | |
1109 | 1108 | | |
1110 | 1109 | | |
| |||
0 commit comments