From mboxrd@z Thu Jan 1 00:00:00 1970 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=-17.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable 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 CBE66C43461 for ; Tue, 18 May 2021 15:49:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A84AC6117A for ; Tue, 18 May 2021 15:49:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350332AbhERPub (ORCPT ); Tue, 18 May 2021 11:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240361AbhERPua (ORCPT ); Tue, 18 May 2021 11:50:30 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDA38C061573 for ; Tue, 18 May 2021 08:49:11 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id k14so11857294eji.2 for ; Tue, 18 May 2021 08:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8wobWCeO9TnSsNp7Gs4zzmLKeoIRn3xZJv1FCbDfq60=; b=oW+DxoZfcvSH8LaRykrzTmc+KFKmiN+W881QfIJ+3wvCb2PclV+Ja5f2+YuzVzDvn/ ayseq80JMuj25ZniVCywFM0AX+uoPAZ8oho3RGOE27Eg2VXdmKeoi1WmTmtMQIPo/EyG jNakzkGhU/ZV/Kf9GgEqAbPrfsygkXzU5C4HRUouVscXETCmuauBFDveTE7YRBVxo1KR JyILTxFoA7xFJIq0P4F+5GPGBVgVg28Ujq5BLPr9vbuBGeJDipg3dq0L5Iv74/isn1R4 AwYlQwdPwnyj5oIwhh10sElqh9SBEal09w0XNIK62bwFgbOs2vSdTRnmkedTvQG17eHd zYeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8wobWCeO9TnSsNp7Gs4zzmLKeoIRn3xZJv1FCbDfq60=; b=NvSLtu5/qPT+pt6hvE9x0HEVFE1o8h5lYJ9FxRLp6Fj3H3W81U/Ta7a0/ME5lm8GwK HEPm+HK2xwHuWw1PIPm0bNIdAudGJuelV5q3kZN8Y1fHkV1Z7WlVwEahPhLCueSiIy0d E7Be8q5NTsQyPHrlHIcFX5tQSY60R3nHuMBagKbMheETJatnvVbPGg8z0TMsm6c91B3N KWmKq8xR4nuv8zA2iAXPYAkpVgrWGsEObnfq6N4T1ZWFIccWkm01ClKD82n871RozKji 7zqP2QMAbO4sTlWS7H+S8uTiKFWh5Km6lLpNv3qJz9grLZPinPGwICDCD0kl3zj3L+1f xXEQ== X-Gm-Message-State: AOAM533lFerf4/vg/F2JM60DaIqMM+pJB6wR4h+C/3HG2vwPjO2tyX04 A4mhjZjVY49dlfxLy0JZuZv1Lw== X-Google-Smtp-Source: ABdhPJxg7/5WdMrCpZWoWIYBhCrSNmK+yH0GfICeh4qldNd0fp4m6LpEdfMGrLryK2Wtt3rQgMzMdA== X-Received: by 2002:a17:906:4e8c:: with SMTP id v12mr6733093eju.365.1621352950499; Tue, 18 May 2021 08:49:10 -0700 (PDT) Received: from [192.168.1.14] ([195.24.90.54]) by smtp.googlemail.com with ESMTPSA id i5sm6739287edt.11.2021.05.18.08.49.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 May 2021 08:49:10 -0700 (PDT) Subject: Re: [PATCH v5 13/25] media: venus: core: use pm_runtime_resume_and_get() To: Mauro Carvalho Chehab Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org References: <492e148ae1c7b0a8858c1670037925d3e4adb719.1620314616.git.mchehab+huawei@kernel.org> <3f41387e-a15f-1e45-6b63-bd6ef647a47f@linaro.org> <20210518172014.68f7a655@coco.lan> From: Stanimir Varbanov Message-ID: Date: Tue, 18 May 2021 18:49:08 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210518172014.68f7a655@coco.lan> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mauro, On 5/18/21 6:20 PM, Mauro Carvalho Chehab wrote: > Em Mon, 17 May 2021 18:26:14 +0300 > Stanimir Varbanov escreveu: > >> Hi Mauro, >> >> On 5/10/21 4:54 PM, Stanimir Varbanov wrote: >>> >>> >>> On 5/6/21 6:25 PM, Mauro Carvalho Chehab wrote: >>>> Commit dd8088d5a896 ("PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter") >>>> added pm_runtime_resume_and_get() in order to automatically handle >>>> dev->power.usage_count decrement on errors. >>>> >>>> Use the new API, in order to cleanup the error check logic. >>>> >>>> Signed-off-by: Mauro Carvalho Chehab >>>> --- >>>> drivers/media/platform/qcom/venus/pm_helpers.c | 3 +-- >>>> 1 file changed, 1 insertion(+), 2 deletions(-) >>> >>> Tested-by: Stanimir Varbanov >>> Acked-by: Stanimir Varbanov >>> >> >> What is the plan for these venus patches. Do I need to take them through >> my Venus pull request for v5.14 or you will take them directly? > > Whatever works best for you. In principle, I should apply them on my > tree probably tomorrow, if ok for you. > It is perfectly fine, please apply them. Thank you! -- regards, Stan