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

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

Merge "ASoC: msm: qdsp6v2: fix invalid access to memory"

parents 571ed50f ceef6e6e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -163,7 +163,7 @@ static void event_handler(uint32_t opcode,
		wake_up(&the_locks.write_wait);
		wake_up(&the_locks.write_wait);
		if (!atomic_read(&prtd->start))
		if (!atomic_read(&prtd->start))
			break;
			break;
		if (!prtd->mmap_flag)
		if (!prtd->mmap_flag || prtd->reset_event)
			break;
			break;
		if (q6asm_is_cpu_buf_avail_nolock(IN,
		if (q6asm_is_cpu_buf_avail_nolock(IN,
				prtd->audio_client,
				prtd->audio_client,