Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 866b7283 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: fd: Do buffer done on all buffers in vb2 queue on streamoff"

parents fa9d8833 a9d25cfa
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1503,9 +1503,12 @@ void msm_fd_hw_remove_buffers_from_queue(struct msm_fd_device *fd,

			if (atomic_read(&curr_buff->active))
				active_buffer = curr_buff;
			else
			else {
				/* Do a Buffer done on all the other buffers */
				vb2_buffer_done(&curr_buff->vb,
					VB2_BUF_STATE_DONE);
				list_del(&curr_buff->list);

			}
		}
	}
	spin_unlock(&fd->slock);