Message ID | 1497284875-19999-11-git-send-email-stanimir.varbanov@linaro.org |
---|---|
State | Accepted |
Commit | 8a5aebf12703c0b580076b10a8b307b6a40f7b21 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp76756obh; Mon, 12 Jun 2017 09:30:19 -0700 (PDT) X-Received: by 10.98.36.19 with SMTP id r19mr15303491pfj.162.1497285019047; Mon, 12 Jun 2017 09:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497285019; cv=none; d=google.com; s=arc-20160816; b=nfLFjLKwlONykQy+yITk413nuOC8ADTCCc4CJwK1o26v+UQKzCBLP8yIde2N1tOO7f mUMQAixm8zW2OBDAjeCCpjCWwP/UhyfmpSRz9sWqaHyFamRXF3Bt5LSSiSN4wHa3MOvM b0BJjHgSdWK+K7zVlFiTjDemdSFOT8uwl28cENjFVbGvcbqLYZ+cJQ0lFCYUG/l58DGj z1rRnQUrhfsd/9kv4hSqIeOgH9XUMlfpVKyzE61ZFg63ERQ/VykNCamfSy0i0AqjgBr6 BfaWFwZFJCFJqL/+J8aeJF/HcoRghPzxCzI9dJcPQxWYhQfy7de+IchCVqLKVWDvd7pM 0ipQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=cxypuHuowLRmyRmOB/X98Wse1XczZCK9O7RkdojKQbc=; b=jf58JI8DlvqtHRYM64xgwnyTSm0x3HUoBfXH71i2OH2gfSZJuI6iVeuE0NoQsQTe29 NXJz3M+JKUXCH1DhQ4Z9dyRnL9W6cj/YUYIp7d94Ghz8JlXu7kgojSRU/oPZ1qpR/h5d 15F0mUOOH8LTR4aT2W5QzIXwQgmOtK4eQKtjsWOYdlaSxLQSy5/LAuxqKDf62N27/cDK VGJrvs50i9O1s5EKhXBTgYNkpmRTieG/y2mOQG0bV6tzqMr05ArXnt7HX329CNSL2hH0 nhEOCe0zo41z3LCS0rCE5yfVUCIAfEWTXbeAhCSxv4YQ9+5ytUipD0ett1Kdvj/Gk1sR V/LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-media-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c32si5132695plj.195.2017.06.12.09.30.18; Mon, 12 Jun 2017 09:30:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754867AbdFLQ35 (ORCPT <rfc822;vaibhav.hiremath@linaro.org> + 4 others); Mon, 12 Jun 2017 12:29:57 -0400 Received: from mail-wr0-f171.google.com ([209.85.128.171]:33857 "EHLO mail-wr0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754712AbdFLQ3u (ORCPT <rfc822;linux-media@vger.kernel.org>); Mon, 12 Jun 2017 12:29:50 -0400 Received: by mail-wr0-f171.google.com with SMTP id g76so101840423wrd.1 for <linux-media@vger.kernel.org>; Mon, 12 Jun 2017 09:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cxypuHuowLRmyRmOB/X98Wse1XczZCK9O7RkdojKQbc=; b=V9zpWoVJdtY4KVQzOpPdaQZJgDDwX/nMcsVy7YcwH+Ez72y6qbS1GDdL0QUUpiWx1z 7lhdCAluMsVanvsa83vqvOGpkf28ykqI9l7WR+egEMLE4xKArBH8/wb7oRsbiRz3qvXu DFojTusvnjCwLmWpvYbiZAOUn64+ShwY1uEIc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cxypuHuowLRmyRmOB/X98Wse1XczZCK9O7RkdojKQbc=; b=NWvQg/Y0TjEMuJiYiOsNKQk7+h8A1kol0B8FY7D27B1LwlGzxF06D9etXesEQ6dWyp NvrPOFRegQ3Ewimu/DlOGXlgYTV0J7IvwtG+BdeWS5mije9BEv5Ba2tRmWmlPo87MfAr WEuolDHnW0VMGHJst2dQZ/cy6p1W25h7py6Eb0X98kLryuM/kuFwBdSSi1unxR8Ar0J4 tKkRD6P7aNa7fotBxeDo/eycpLUhNEupkNJlPVasEqg91/2i+qzTyJEsxqwD54u1HhN4 lJukTLS4jxl1WP+aeulRx0JpnF6MWr9bT2wxN89BM+3J7ozOBffNbtbXnfHiIutAM1J1 3FYw== X-Gm-Message-State: AKS2vOxtTIdcYZevKd0d1DI2H8kAf8i9zy3wQnhcC2h45t+UEVu0tSJ1 jfRo3yHoe5eP8ip4 X-Received: by 10.28.60.137 with SMTP id j131mr8685323wma.19.1497284986655; Mon, 12 Jun 2017 09:29:46 -0700 (PDT) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id 49sm14493531wrz.8.2017.06.12.09.29.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Jun 2017 09:29:46 -0700 (PDT) From: Stanimir Varbanov <stanimir.varbanov@linaro.org> To: Mauro Carvalho Chehab <mchehab@kernel.org>, Hans Verkuil <hverkuil@xs4all.nl> Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stanimir Varbanov <stanimir.varbanov@linaro.org> Subject: [PATCH v10 10/18] media: venus: hfi: fix mutex unlock Date: Mon, 12 Jun 2017 19:27:47 +0300 Message-Id: <1497284875-19999-11-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497284875-19999-1-git-send-email-stanimir.varbanov@linaro.org> References: <1497284875-19999-1-git-send-email-stanimir.varbanov@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org |
Series |
Qualcomm video decoder/encoder driver
|
expand
|
diff --git a/drivers/media/platform/qcom/venus/hfi.c b/drivers/media/platform/qcom/venus/hfi.c index 20c9205fdbb4..c09490876516 100644 --- a/drivers/media/platform/qcom/venus/hfi.c +++ b/drivers/media/platform/qcom/venus/hfi.c @@ -156,7 +156,7 @@ int hfi_core_ping(struct venus_core *core) ret = core->ops->core_ping(core, 0xbeef); if (ret) - return ret; + goto unlock; ret = wait_for_completion_timeout(&core->done, TIMEOUT); if (!ret) {
This fixed a warning when build driver with gcc7: drivers/media/platform/qcom/venus/hfi.c:171 hfi_core_ping() warn: inconsistent returns 'mutex:&core->lock'. Locked on: line 159 Unlocked on: line 171 Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> --- drivers/media/platform/qcom/venus/hfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4