Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4267931rdb; Thu, 14 Sep 2023 18:04:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuuPwRj4AyDZiAFcSlm+mQWkb84hwKK7Re5PhU65RUz2r0hat9a3Fxd8A8xZW9ziLiue6Z X-Received: by 2002:a05:6358:618c:b0:140:f6ab:b11e with SMTP id w12-20020a056358618c00b00140f6abb11emr511215rww.28.1694739870606; Thu, 14 Sep 2023 18:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694739870; cv=none; d=google.com; s=arc-20160816; b=e8UkwhWNGp3m7VHkSN+7vAfOAWX9lI4CfOZFJ0wNTONfHtMacO82qWH19mKb2IIO/q K2VdiBpA5rlNG7UvMvPuDIl1oSUCDKRP1ziJOuYDeD3szwFo4rxH1A15Wcd0BC28ZGLQ TMx14+bARVlowjm4mA0vBumvZxoKVymKVXCQnC1gWJxM8yAGN9tCsy10aCp3G+bC7iRB oDQguXRHlJ+79UuMPDfPeZ6mzmWxZPKLCWWvgnFUD1mlV6xveUnh2PtwS0zvdTDi0l/5 LPpZSqyYsKgZuKXjs+XgfyByDsq1ON5wy8Hog1k+DgIUc5JXfZYsF1zBiuOgUil3tcER 1deA== 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=XatdGlmV/12Jzi3PnN8IBB76w3DAEYqjNUro5c8Qpf4=; fh=G+yUGP2OA+1mrNWWFtUFgkUQ7caXcSMvQR0djfvh4xs=; b=x5FQBZe+F+TLxgR316HFv5bTcftMiWTsuf+GVwHLW1G9IJ7Wfid+cY1LwIxGwZ5Yvi O9/DlczJkj2/JwtPlTj8QYLv8jewVdCPq2ppmQPeHdEEIMkO9YzQtmfkxwNnCwSKoLQC ftyRl56RhJeN8md5K4lwaaBYVEMpJXRsewLiFDX2/zoVwEM6EdocHOJsY2Ogpl2AM+pK GZO7CzGYCfWRpOUtCg7Wk+zzutFB9PLVPGKQpVXM9jBWKXpr2S/2hQpCoQu+p9m8PzIa MtNiCsAf7mryN1UU0UaQu+VyF7Nz4y16RSSdzjDck7dnOctp0eo7raCTh5/mBGlTdN3Z JzIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=fMjGX392; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id c6-20020a6566c6000000b0056a9544e894si2254739pgw.397.2023.09.14.18.04.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 18:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=fMjGX392; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id EFD8F811F112; Thu, 14 Sep 2023 08:47:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241189AbjINPrZ (ORCPT + 99 others); Thu, 14 Sep 2023 11:47:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241065AbjINPrY (ORCPT ); Thu, 14 Sep 2023 11:47:24 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49D4ED7; Thu, 14 Sep 2023 08:47:20 -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 0751A660727E; Thu, 14 Sep 2023 16:47:19 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694706439; bh=BFXg+eiGm56PIuoHY4sJWN6imZT6VBrEHcdIVjqZMV8=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=fMjGX392d+eycmU1JptKG5B6QxJoOfylTA4Minb45ZgdSn5XxyC86vUQatfMAvhx8 QTmxuiF70gxHDetoTOWv0C3CQGizkLJ/xFNv9nD5aY8Vc5zUBK4QqbxDL7LlhcT5yR eHScGpGQo9F/g5mKA2nXseVddd8szH0AQXIQH8hJBNoyJiShmC/Qp1LH+59lrTtZo5 k+NJJSctEfis1fvXwyEnlgwzZt6NVWGI71ld6SpJK0rGGf4ppPVrXfAcaBWnbVL2od 7X/ZTCseZs08RlAxcSb8BQWt8A+jJwr7hroCqzG6SWJL4kryQfYwaZW/iCZSIwJ+8m 1TQlc6FA6njMw== Received: by mercury (Postfix, from userid 1000) id AB7E8106098B; Thu, 14 Sep 2023 17:47:16 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel , Maximilian Weigand Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Maximilian Weigand In-Reply-To: <20230601-rk817_query_at_resume-v1-1-630b0adefbd9@mweigand.net> References: <20230601-rk817_query_at_resume-v1-1-630b0adefbd9@mweigand.net> Subject: Re: [PATCH] power: supply: rk817: query battery properties right after resume Message-Id: <169470643667.728745.9541919851740286656.b4-ty@collabora.com> Date: Thu, 14 Sep 2023 17:47:16 +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 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 08:47:29 -0700 (PDT) On Wed, 14 Jun 2023 20:10:43 +0200, Maximilian Weigand wrote: > The driver reads battery properties every 8 seconds. In order to prevent > problems with wrong property values right after resume, trigger an > update of those properties on resuming the system and restart the > 8-second interval from there. > > Applied, thanks! [1/1] power: supply: rk817: query battery properties right after resume commit: 1769142a14c34a8acd67657bc3e637f22f75e026 Best regards, -- Sebastian Reichel