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

Commit ea5c8de9 authored by Vijayakumar Badiger's avatar Vijayakumar Badiger Committed by Gerrit - the friendly Code Review server
Browse files

crypto: qce50: fix llvm compilation warnings



Compiling kernel with upstream LLVM tool chain
gives warning related to bool operator.

Change-Id: I0291d7ca7df9141df68305746242cb7c9384d3c7
Signed-off-by: default avatarVijayakumar Badiger <vbadig@codeaurora.org>
parent 61b41739
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * QTI Crypto Engine driver.
 *
 * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2020, 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
@@ -4676,7 +4676,7 @@ static int select_mode(struct qce_device *pce_dev,
			pce_dev->intr_cadence = 0;
			atomic_set(&pce_dev->bunch_cmd_seq, 0);
			atomic_set(&pce_dev->last_intr_seq, 0);
			pce_dev->cadence_flag = ~pce_dev->cadence_flag;
			pce_dev->cadence_flag = !pce_dev->cadence_flag;
		}
	}