Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1913918rwb; Sun, 14 Aug 2022 16:07:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR6lR9bJjAfcoqX4sZ4Cf8X/BDqsbgpQ+16U3nR41+1Kpl5IA+8rQQeLuu/rq3JNJcvp1pAZ X-Received: by 2002:a63:f708:0:b0:426:9c51:fdbf with SMTP id x8-20020a63f708000000b004269c51fdbfmr6300916pgh.576.1660518425137; Sun, 14 Aug 2022 16:07:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660518425; cv=none; d=google.com; s=arc-20160816; b=AgkxyABqRTCIVikZfhaP3/lCYtRo4s+s4BcRz48dGeVcnp2g89+63ErfB8ijNtfqH5 cxpi6M8YEbVMsfFfQVJVeOeyPouBui8zY5V5iqbWUCQCu9STWgrVTrX+XCv/+mp832Y7 cfpkdMSgw7XAsNsNDbx3qIrdFJWaSG7S4iCihL3ZT9LEteysSZonKX2/G0iDvtBHmdA6 /HQiZS4Ds6gKOd4amyrsaXTGlnCTWO7hZiVaOrpGZv97/4XYltEmyZ4/B+9aq5174h6n j5o5dvNyzcKqgG1OO2tCsc5UHxdEF6xxzicqSQesSb4W6ms1dyh/ZX6jJ95SwabIfIJu PT3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:feedback-id:dkim-signature:dkim-signature; bh=/N3ZJwMAuJKQJaLlb+5nhdHUlf08GWvC6v41/Xejl+U=; b=SqboyPXRisPMawT5hMZ75pm8fmxk/7jZDHXPKkqLhVNTLpyzctIssAKIiAUOeG/XYo WkVnEEgIYcHSG1ihFzA2W4PJVEq9iFMfO68BTAwd6wKVo33wd+6VlaHojY+HNkN569hm 3Z/qnbr5FNaHJGaZUUYpWdlwAb/Z9rE11AgUvXpa8U35OPYsaEEHehuMpPMHRwxl3YhU 133Pr5cyMHBnZq9n6h5n92AH1QYH64abZtOhcVKLDOEpICuS0/F7JvgCT9g3zVhHdKXR Wn7tuZnAVZ9w3zRaA6H1+YcS5XQrVpekaWNjxsLp35OlXd+VVCL3KRqe7NMJs8JkH4/c kXbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@undef.tools header.s=fm1 header.b=xlK5hEAv; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=JNQaUkm4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=undef.tools Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a170903200500b0016ee7f02a17si7236085pla.111.2022.08.14.16.06.21; Sun, 14 Aug 2022 16:07:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@undef.tools header.s=fm1 header.b=xlK5hEAv; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=JNQaUkm4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=undef.tools Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240667AbiHNWCN (ORCPT + 99 others); Sun, 14 Aug 2022 18:02:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240422AbiHNWB4 (ORCPT ); Sun, 14 Aug 2022 18:01:56 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E80BD11C1A; Sun, 14 Aug 2022 15:01:36 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 5540D5C0039; Sun, 14 Aug 2022 18:01:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 14 Aug 2022 18:01:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=undef.tools; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1660514496; x= 1660600896; bh=/N3ZJwMAuJKQJaLlb+5nhdHUlf08GWvC6v41/Xejl+U=; b=x lK5hEAvRjyvkoTXfINnBahnjIYJHP+GfNL0MaIZxCfWpEegPDjesCrG4oETdCh2T JpxLIWJh11b28A0E3qpAcdHzp5ng8BlJsPNF9zg/LIAC3JuSBfZOcVBPdxN/ALSZ JQLHpTH7nHHG6pD5kQO45vqgHj7BlVTf9CBIjGOVP56qfEdkz9OyWJSSJYjtgrJP 67ZAi59dU4sJX8z9EKTAgvNnA5Q8VCVOx6Hy5WBJ/pRZ30bhAC1bJivfIbDy2BVh QIsZItddkgpeY3Tj1V14QZgl+qes/mwCek38q/9NHWhvB5x6fc7Ho1nyNRMYYO32 VjZnrH3yc1VSoXc2SCQxA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1660514496; x= 1660600896; bh=/N3ZJwMAuJKQJaLlb+5nhdHUlf08GWvC6v41/Xejl+U=; b=J NQaUkm4Fe/AlZMS5GBleTwq4sC7yCbf0SqagIxbXqpe1CXbbEkk/WBfeDz8bIQVp x4SgQD/pjUnvd2X0V5959jefvXqSkU/kiUyCjDBNJcKSJzQWYDVqLms0dXmP2a/I PZqaqyMRW1fvFYSlkBuRxWU/h8uwECfcuwzUYPZj7VnKnsieSi+zjyratj3qBlsz axPRn8Fzj/kI5Hg1wzGRJ5vHvZiNWW6nrGqQRQnEHR2FgXKXy8B80nO7bCZnmZQR Msjys/sU5YDzi8TobV8WXB8jCNHFXHoxgbqf7foeIog1s/SqCwufY1EVQPP1hiPe gsiZMveKvFlTmRFFY1pWA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehuddgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeflrghr rhgrhhcuifhoshgsvghllhcuoehkvghrnhgvlhesuhhnuggvfhdrthhoohhlsheqnecugg ftrfgrthhtvghrnhepvedtgeffledtjeegkeevfeegieevgffhveeuteduleeileetffel hfduheevhffgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepkhgvrhhnvghlsehunhguvghfrdhtohholhhs X-ME-Proxy: Feedback-ID: id76147eb:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 14 Aug 2022 18:01:30 -0400 (EDT) Message-ID: <821647de-be45-557a-e1eb-2e70e186f2d8@undef.tools> Date: Mon, 15 Aug 2022 08:01:52 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH] media: rockchip: rga: Fix probe rga_parse_dt bugs Content-Language: en-AU To: Peter Geis Cc: Jacob Chen , Ezequiel Garcia , Mauro Carvalho Chehab , Heiko Stuebner , Linux Media Mailing List , "open list:ARM/Rockchip SoC..." , arm-mail-list , Linux Kernel Mailing List , phone-devel@vger.kernel.org, Ondrej Jirman References: <20220814040806.7523-1-kernel@undef.tools> From: Jarrah Gosbell In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/14/22 23:12, Peter Geis wrote: >> ret = rga_parse_dt(rga); >> - if (ret) >> + if (ret) { >> dev_err(&pdev->dev, "Unable to parse OF data\n"); > If this can return EPROBE_DEFER, shouldn't this be dev_err_probe > instead of dev_err? Looking into it that does make more sense. I suspect it wasn't done this way originally because dev_err_probe isn't used elsewhere in rga.c. I'll send a v2 with that change shortly. Thanks for the review.