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=-8.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 742F7C388F7 for ; Thu, 22 Oct 2020 05:14:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 192062245D for ; Thu, 22 Oct 2020 05:14:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yOA8f8kv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2507839AbgJVFO5 (ORCPT ); Thu, 22 Oct 2020 01:14:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2507838AbgJVFO5 (ORCPT ); Thu, 22 Oct 2020 01:14:57 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18390C0613CF for ; Wed, 21 Oct 2020 22:14:57 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id o3so238355pgr.11 for ; Wed, 21 Oct 2020 22:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9N4AwJ1uFCW577znU9D4xEwyN9NsDba4VzTyi1307gQ=; b=yOA8f8kva3txVhVULf+6KyqMM6X6M5+Xq4kyU1AaaaeiRmVBHtfho0ndnz7P7+ksgb W2XD8LnIqe4xOqonit7kehkgF+JZvgSGPfhjNDzWxpcHS646OOK8Oy/L48/DVwIkJuYO UgvmCwGCf28d9+rxPSjbDBdwXk3YJ5o3rHKw8gw5dB3lYEv14YjymPgNjCJsTWFB3bOb fPWrK3+Q6/dnEzTjIo15k0gfucqhX08ixAMmzbXz7iLoAnG7g2ClLIDG2i4sATiuDCxq TRv2Lnax6EY1hdZkDGSJwIiZvtvt7dWcO60+ED8uAgRt3gWh/GBsdSZn196afU1z76WC SW2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9N4AwJ1uFCW577znU9D4xEwyN9NsDba4VzTyi1307gQ=; b=KSJMkKVXf7QM70A1OUBCBv+d25Ans6OoZNjZzZQwhSGcrSu0I0MOIdyVfJJ61A6V9C i25XEiTouDq03AC1Dt8zyBkiG5B5Io2uXvvSSR/DtT1P/zlslmTzXMTL6w2Wx8/SNYAG J7aJwhWAQVvB3h8ysYDOmC2WLXaUKio34dZXUw/Ca9mQXyh45FDz3bXlfkpVJTQD9gZG Qrb/c6hG6A3fl5pfi1iQlhlybdQ27n7rMcH6CY+yhvDtVtxRgLnVhEhzKFKHI/yNVxoV Gg1g4oVZYU2TlE8ObKz0LiLwBvH3qbTy4z/rXtogMm6xrRnOUUMhZD8TvpHgspdVFXcd ihNg== X-Gm-Message-State: AOAM530WZ8OvRpB6uyh3xE5qqruSWDu8nWJDi+qs8sqdRNjxMKC9J2um 35b/fRizpdw8TFYxObPN+bGOBA== X-Google-Smtp-Source: ABdhPJy/Aaj8vx5eIZaXacCj6mJYxS7bjf6e3Y9pPqYEIm1OT+kS0t3cdteyul8PjIUtlKAzs3Sbnw== X-Received: by 2002:a63:3d48:: with SMTP id k69mr880965pga.269.1603343696496; Wed, 21 Oct 2020 22:14:56 -0700 (PDT) Received: from localhost ([122.181.54.133]) by smtp.gmail.com with ESMTPSA id z18sm482300pfn.158.2020.10.21.22.14.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2020 22:14:55 -0700 (PDT) Date: Thu, 22 Oct 2020 10:44:53 +0530 From: Viresh Kumar To: rnayak@codeaurora.org, Qiang Yu , David Airlie , Daniel Vetter Cc: linux-pm@vger.kernel.org, Vincent Guittot , Rafael Wysocki , Stephen Boyd , Nishanth Menon , Douglas Anderson , Naresh Kamboju , dri-devel@lists.freedesktop.org, lima@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 2/8] drm/lima: Unconditionally call dev_pm_opp_of_remove_table() Message-ID: <20201022051453.xufcga7icohm74rg@vireshk-i7> References: <62d944bdac75ec696828daad49fc1ddb6c637bcf.1598594714.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62d944bdac75ec696828daad49fc1ddb6c637bcf.1598594714.git.viresh.kumar@linaro.org> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 28-08-20, 11:37, Viresh Kumar wrote: > dev_pm_opp_of_remove_table() doesn't report any errors when it fails to > find the OPP table with error -ENODEV (i.e. OPP table not present for > the device). And we can call dev_pm_opp_of_remove_table() > unconditionally here. > > Reviewed-by: Qiang Yu > Signed-off-by: Viresh Kumar > > --- > V2: Applied Reviewed by tag. > --- > drivers/gpu/drm/lima/lima_devfreq.c | 6 +----- > drivers/gpu/drm/lima/lima_devfreq.h | 1 - > 2 files changed, 1 insertion(+), 6 deletions(-) Qiang, can you please pick it up ? -- viresh