Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp452760imw; Wed, 13 Jul 2022 01:22:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uxppbMR67dS3zkWHasYF7NH9qAIIat/amMGpedozpCtDDu6q5jJ+wssfirwNcmxriIDY4R X-Received: by 2002:a17:906:53ca:b0:6fe:ae32:e01e with SMTP id p10-20020a17090653ca00b006feae32e01emr2144740ejo.455.1657700578909; Wed, 13 Jul 2022 01:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657700578; cv=none; d=google.com; s=arc-20160816; b=DNb4it4WW0aG4N5uHmzw6za2FpEVNKvSW3POtGmru+7ZOE1n0UUkQ8M2MWv1DOE9aJ +qmTimjY5P+nJUWY2YLbTicEaPT1uXfUeXyMoTPnkU0sp0Z7l1tfhrKCrlShHqPvNqy+ +51G/xUUH8ONiuhOHMBintw3rd2bfKJyXq4Hn1BxNUufbRHgfJRKamFitm/Ys8yN8Ooe WqChW4+1iEcDAKOXI70gOmxGcYlx0d4xMrONN382VBzZC9IjmZwQt1q4hEtcSLjGJPoN HZrth06gHfUnBWFsb5BJQuHLJGfzd2T02f1WFATuseEVcEusoWgzTQL1ImXLOyanxme+ wp0g== 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:dkim-signature; bh=rKZym/7W9RhOuNZGlzG7O/zVmZ0FOfTpeUl7eC0aUX0=; b=Qt0jzNqfdlM6dcrGJgVX01jGyMKEmtC+FsrZKMPG9xXBGUEXaAujbP/sEUuC7myc5z dn7USqOIVvKv6xk/wkJGuG2wNBMUMHvv7ylrU8kZsNBFOA1k9nM/kI3dZrXCNSx4yxYO XN2MZzp34bvzjumQAnl4ZoVNPgQ3L2Ibh93aJ/GwVGiJo/lld949K5KE1NFWN+HB2Ykn ThXXhQZMDJQ8vRCZfjn3f0/bIH/IaMzC3unbvK/Rzfi1td19be1YUp2i9squIcdZKSSz usmKwez9e5WrnOmYvqULXDPAjzD8FnTLmcVbodoc3/dvyKqhH87tS3d7Y973V1hgCQy3 EYkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SrFsjNOd; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a1709060f0600b007262b2de87bsi15124584eji.839.2022.07.13.01.22.34; Wed, 13 Jul 2022 01:22:58 -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=@collabora.com header.s=mail header.b=SrFsjNOd; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235053AbiGMIVP (ORCPT + 99 others); Wed, 13 Jul 2022 04:21:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235448AbiGMIUj (ORCPT ); Wed, 13 Jul 2022 04:20:39 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 851A413D0C for ; Wed, 13 Jul 2022 01:16:38 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id CE96A6601A33; Wed, 13 Jul 2022 09:16:36 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657700197; bh=R2PxcQlGqCPfLT0tv7PApqY13Oo+XyU+FcKDR3vX5yw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SrFsjNOdbmRGVH79LEvg4jRc+889XWLFYjVaRcA4paF+BEJuUITYvTa1Q73oi6eAj DYEoW+L82lnMrP9S2bcLNNcnJsxayrJ8MmDr8zI2mrKD3x7zG+5IdChqSyGBZRGL0j KUobuPxuSGfuw0VLkQvvK9uY8Qd0e/B3wemvujNQIOmgCXD9ZybTi2iN0bKqzk37FA 5yP5dFj7aS1Ku/WCcz46zhMxiyziHBk3LqcrqN2uK2GU0oPDxsdcB62ZrzXs79GUzX /Sz9361pBfUpDbUIWANo8vMoMjxHIqObbIbmZiCe3tD7RVbgVo7zqGOEq7PXZ9/xd2 sChuVxGgssbgw== Message-ID: <16fe2bd2-bc9b-f2a1-8d82-f8f089d36f37@collabora.com> Date: Wed, 13 Jul 2022 10:16:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] platform/chrome: cros_ec_typec: Use dev_err_probe on port register fail Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Prashant Malani Cc: kernel@collabora.com, Benson Leung , Guenter Roeck , chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org References: <20220712214554.545035-1-nfraprado@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20220712214554.545035-1-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, 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 Il 12/07/22 23:45, NĂ­colas F. R. A. Prado ha scritto: > The typec_register_port() can fail with EPROBE_DEFER if the endpoint > node hasn't probed yet. In order to avoid spamming the log with errors > in that case, log using dev_err_probe(). > > Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno