From patchwork Wed Apr 8 21:33:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 189683 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 279ABC2D0F4 for ; Wed, 8 Apr 2020 21:34:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E5B60206C0 for ; Wed, 8 Apr 2020 21:34:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eYr8eNy5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728294AbgDHVeC (ORCPT ); Wed, 8 Apr 2020 17:34:02 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:34022 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730696AbgDHVeB (ORCPT ); Wed, 8 Apr 2020 17:34:01 -0400 Received: by mail-lf1-f68.google.com with SMTP id x23so6324265lfq.1 for ; Wed, 08 Apr 2020 14:33:59 -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=dGu6G6U9laSFYPkNmi6ZzG7WVHHi3cCRqEsXprARE/c=; b=eYr8eNy5cDTDVyI+xHQL+AUHFo3gMgU74ThpTvWHIW3Ck+kZLmUFKTThRyC4s2o2WX 4JMNsmiGxwTTeyjmM8J8C8vC2ZLnhtQg9DNUGrHLpfA0WQI3qVmmD9iTB/AUG+7gTsMM ArNLz3rYg/01IMOkcFl+3xLznQCC6EPVlkykqTDhUXcSoQyT/MzNt9z35k4+4xL2t9XW nE7pywacVqNzDuxi5l2V9GUXDmOegHvV3CrKM+6Be9sTOQ1Zo7LjTN+96qKUJ/NPa955 ercDf30Tqxchp0jjbJebHT5t/C5hhX9GoxGBFK5BEoA404g/XwrQTcZOa9HfkMyrRXoa AEtg== 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=dGu6G6U9laSFYPkNmi6ZzG7WVHHi3cCRqEsXprARE/c=; b=D3+M5LLhUPO0rQ3OmOChM/Th00meQYMCt8KWxzcUuZjmkmKk1gyxLo6OsB+wzkEVmI MtLnNb2w6NLlQczdD1HsrrYkcNRoKWD93gZ5YAJM1MVflg0BnSlIvxUJ9E7xCmeBKEYm OkrMMFnMsMl577asR0EFdvidrhHAM9Q39oAkdLVtzxJhFSBt1EIMxC1BB4yw5VVb+Q7z mmvMfT36PfGvZ1gySESkrlnWDJPQjV98V4c3mkmopInW/mXDNH7LMHti5on/D5Vsqo2x UCA/ZbPrCTgRIZWs2zApQWnQCIc8YwoRgm3Vt+8DO3QYt7TL0Q2Zlu81XgDhSfIwTzfl wfAQ== X-Gm-Message-State: AGi0PuZFIALVDnuleAU+QTo9GeoiYDi0QUwJ4yfhxIVK1l/TGjWEQJVF EBcWs9N9qTAZqPPe1lLFz1WHjA== X-Google-Smtp-Source: APiQypJys5JfGvGwfOKAO4N/l/YXrDr/1V9RYF63SNuDS7AhccKshDKvFd9TQV7QnKBo0bgPhrUynQ== X-Received: by 2002:a05:6512:318a:: with SMTP id i10mr5747051lfe.96.1586381639108; Wed, 08 Apr 2020 14:33:59 -0700 (PDT) Received: from localhost.localdomain (212-5-158-138.ip.btc-net.bg. [212.5.158.138]) by smtp.gmail.com with ESMTPSA id t6sm15746688lfb.55.2020.04.08.14.33.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 14:33:58 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vikash Garodia , Stanimir Varbanov Subject: [PATCH 1/7] venus: core: Add missing mutex destroy Date: Thu, 9 Apr 2020 00:33:24 +0300 Message-Id: <20200408213330.27665-2-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200408213330.27665-1-stanimir.varbanov@linaro.org> References: <20200408213330.27665-1-stanimir.varbanov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This adds missing mutex_destroy in remove method of venus core driver. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c index 4395cb96fb04..f8b9a732bc65 100644 --- a/drivers/media/platform/qcom/venus/core.c +++ b/drivers/media/platform/qcom/venus/core.c @@ -335,6 +335,7 @@ static int venus_remove(struct platform_device *pdev) v4l2_device_unregister(&core->v4l2_dev); mutex_destroy(&core->pm_lock); + mutex_destroy(&core->lock); return ret; }