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

Commit 262569ed authored by Sreelakshmi Gownipalli's avatar Sreelakshmi Gownipalli Committed by Gerrit - the friendly Code Review server
Browse files

diag: Use correct index while accessing DCI channel



Use correct index value while accessing DCI channel status.

Change-Id: I97456326a40c6d24c208307a9e8e6a55fc5b9d59
Signed-off-by: default avatarSreelakshmi Gownipalli <sgownipa@codeaurora.org>
parent cfd42c3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ static void dci_chk_handshake(unsigned long data)
{
	int index = (int)data;

	if (index < 0 || index > NUM_DCI_PROC)
	if (index < 0 || index >= NUM_DCI_PROC)
		return;

	queue_work(driver->diag_dci_wq,