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

Commit aea8f366 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 44a1037e on remote branch

Change-Id: Iacb765a5bbfb09415ed09dba0574b621c62be9cf
parents 2d161983 44a1037e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
 *
 * 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
@@ -1061,6 +1061,11 @@ void extract_dci_pkt_rsp(unsigned char *buf, int len, int data_source,
		return;
	}

	if (token != entry->client_info.token) {
		mutex_unlock(&driver->dci_mutex);
		return;
	}

	mutex_lock(&entry->buffers[data_source].buf_mutex);
	rsp_buf = entry->buffers[data_source].buf_cmd;