+ if (str->paused) {
+ /* finish pause - prepare for a new resume
+ * move this code later to trigger function,
+ * as this is also needed when resuming from pause
+ */
+ str->paused = 0;
+ /* implement later loop for all streams */
+ lola_stream_wait_for_fifo(chip, str, false);
+ lola_dsd_write(chip, str->dsd, CTL, LOLA_DSD_CTL_SRUN |
+ LOLA_DSD_CTL_IOCE | LOLA_DSD_CTL_DEIE);
+ /* end loop */
+ /* implement later once more loop for all streams */
+ lola_stream_wait_for_fifo(chip, str, true);
+ /* end loop */
+ /* end finish pause */
+ }