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

Commit 003cdba1 authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Gerrit - the friendly Code Review server
Browse files

msm: v4l2loopback: Fix clang compilation error



Fix below compialtion error with clang
logical not is only applied to the left hand side
of this comparison [-Wlogical-not-parentheses].

Change-Id: I1dc1c5822f4d81bcc4e50e9aad5653de4189b60c
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent 4824ab2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2145,7 +2145,7 @@ static int free_buffers(struct v4l2_loopback_device *dev)
static void try_free_buffers(struct v4l2_loopback_device *dev)
{
	MARK();
	if (dev->open_count.counter && !dev->keep_format == 0) {
	if ((dev->open_count.counter && !dev->keep_format) == 0) {
		free_buffers(dev);
		dev->ready_for_capture = 0;
		dev->buffer_size = 0;