Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4186867rdb; Thu, 14 Sep 2023 14:46:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsYKLgX4NhrlmCmhFKPKVCq0LwKg8fxEv2ntUaF4bsOng8MxN52sfvtSPtbhyyECqvpKLA X-Received: by 2002:a17:902:b40a:b0:1c3:90c7:b99d with SMTP id x10-20020a170902b40a00b001c390c7b99dmr5642249plr.41.1694727965277; Thu, 14 Sep 2023 14:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694727965; cv=none; d=google.com; s=arc-20160816; b=h+UF06sM37EdBjYHo7SHW4IYG2iOGx2sWxQGa+/i8E5DqLUOdx9hv3uVEIBTABmBjY b0FHZ13l0kQfCJ7lBkEIS451cuxPwc4tMcT5QFNXu040pTxxpOrHloZgjPnWQ57dpLZO HLLNjfAhYVnqtJXjqKoHRaeiSwmtHxzHAnsMiR5Or61SnlHMGLid7pJhR7finNW7eejg yvHukIuNo5wJ8nKtLESoS82BOAXdyFNA8z4EslW/QdH3VtlokUR1gICbpqZjsVQSzerG /iyzSUdAIbcZ0cFkiY1/4X+iDEX9NoVyL8e7mzVnFlRHzGRlWPM9YM1nS7Wp8dwWEMA6 1O3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=jFNk0xkcPJDSvrhZEGE3ap8+qo0t8ayF6RyVxF4vHHU=; fh=02qGHjqq7LMnoDEiKaMZr/eLcC7HypEkT66Pt9l2yk8=; b=jrfz0YehzTEzjSvm8HctPunLZ+veWP71Xv/oEFSyFIzDZTvAeDrJd/om+1Hk6llcFY Y1EJ6U+rVaALAfqqFBW8LWQqR5Raauy7t14apceILyz44uYMhw3eGPkF50TKY3H2MIdf A7x1jmjeA5MJ0ADELfPU52esIz13lPGAorr5YG/TG6bpUaNQO644KRKJfJwwpHAQD+32 dKrvpMOXJnvea2CdY0XU88FetrmLJHzji1WLvPPJNMu/+3Rf+rrguUAVAG07/jQ+jFhO FaiwqqKc4m+pio2n94A2J7FKad1aXSt5haEjCcOupYs0VrJZGzpOdgp8xoHW4OWAXN66 5FwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DCEx0y9H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id z12-20020a170903018c00b001c0ab540e67si2427020plg.213.2023.09.14.14.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 14:46:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DCEx0y9H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id ABB8A8381E76; Thu, 14 Sep 2023 09:14:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238864AbjINQOs (ORCPT + 99 others); Thu, 14 Sep 2023 12:14:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238755AbjINQOq (ORCPT ); Thu, 14 Sep 2023 12:14:46 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06C951FD4; Thu, 14 Sep 2023 09:14:40 -0700 (PDT) Received: from mercury (dyndsl-091-248-132-131.ewe-ip-backbone.de [91.248.132.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id AE219660734E; Thu, 14 Sep 2023 17:14:38 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694708078; bh=oyyTUlng1CRgvxzHHU6jfImAju9hov629yE8WpGHUR8=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=DCEx0y9HA+cnD0vTGca6Rs/F4GslJ7aY7Q1iwoFjHJL0jKL90bdbafecEbZAVZZzZ L7vlrv8bHODHLkRxGEuDtnkg/3/+f/JfABsEU9hD5qnhy4FzlHsrfyZCJbNHcarq/I 5yRy/he4/FuBvnaRri4lqxS/QAaPDYEHWzfDfUIHh8fh6XIuYNBWV2EXRQ8D3MaquQ tKGyjbs7v/TStPngFWxe7cZY3WoLdotC3fKK52hKeIdwa03hJEqeYMrI20lTeegmwU 3AB7yLg4S55aHu4VKpZibbKLvEx0JmQ3JhJfQbmOzpbkSYZBqZejaXo/9Ylk7c9aHB h/11jrTnlDhaQ== Received: by mercury (Postfix, from userid 1000) id E20A6106098B; Thu, 14 Sep 2023 18:14:36 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel , ChiYuan Huang , ChiaEn Wu , Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-pm@vger.kernel.org In-Reply-To: <2ed01020fa8a135c36dbaa871095ded47d926507.1676464968.git.christophe.jaillet@wanadoo.fr> References: <2ed01020fa8a135c36dbaa871095ded47d926507.1676464968.git.christophe.jaillet@wanadoo.fr> Subject: Re: [PATCH] power: supply: rt9467: Fix rt9467_run_aicl() Message-Id: <169470807687.776693.745016394505207164.b4-ty@collabora.com> Date: Thu, 14 Sep 2023 18:14:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 14 Sep 2023 09:14:51 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email On Wed, 15 Feb 2023 13:43:04 +0100, Christophe JAILLET wrote: > It is spurious to bail-out on a wait_for_completion_timeout() call that > does NOT timeout. > > Reverse the logic to return -ETIMEDOUT instead, in case of tiemout. > > Applied, thanks! [1/1] power: supply: rt9467: Fix rt9467_run_aicl() commit: cba320408d631422fef0ad8407954fb9d6f8f650 Best regards, -- Sebastian Reichel