Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp159389lqb; Tue, 4 Jun 2024 07:54:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8wdODW7qGT+BVyMkKqt8BuoZUBNWuzIpsSOv1sWePrEnoWKDAACqKRkZ570fSxZWhtx0QyqGFbS+S4FXILyTMKzPvp/smykX+S8eG3Q== X-Google-Smtp-Source: AGHT+IHKyJWbRHBvxtIu39XzddmvSwIjPii685WEuo/QMi/kxjGJdKvhFlZjbFNUIhm11eYcZADh X-Received: by 2002:a05:6a00:2d81:b0:702:6653:af4b with SMTP id d2e1a72fcca58-7026653b458mr7405779b3a.17.1717512856107; Tue, 04 Jun 2024 07:54:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717512856; cv=pass; d=google.com; s=arc-20160816; b=YCi0eAWfU6CN7TwYKp5j33I8h8uITYjAu3yy1L4y7GfS7W24I9vx8MplYXjyvUSYGv vOziBwzXRkv9L8XMAVxtGuI0ngV6Atwt1Qrk6qcHu+SA5vFVREbaebJDh4dsMll5gSUf Ce4UOmQsR6bV9UNi4vSE9k6OFvQqZhviALtiEZyOxiyjF3L6u3A7CrjFABi/GRax03zP Ta2q7J5u+Tx12UZSCGuvEjiEKxMtdNMBCKTf5GxHM63ZmKYdwqVacMjJBYAEWs9mziDv iX4W1HgGTVih8l2gOsrhLtBQ8MiQzioYiuAp0H1LaIwzbAqupkKugJm7kZYnUrJOmq59 xCTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=2VGDou59bdsH4zjlcFOpFMQmh8HN0lld2Fx8fUhnGKc=; fh=kflXPtk+X7B9aKCbuG0g79FYbfLljBJOjeVA3ZNYd0k=; b=v1npNdmNL6yywC0TUESvWzuT9fizRNs59bcfQ1ehYctMeiTyoyWm9ShCWswoA2dexu kIL/JzXwBGcqJ8BDZYTdjhbbqCvKR41BNyULhIzWNOPZHoN9H7m1PUeVr+6yvYWwwcqi m4RDr0wO7x+39U/GNKVCU0QxWMT4DaUBA/dlCULuVxJ0d1jsJy71jbpQw8An72aJbjBq Nefnjh3UqGw20XMXlvFiOxko5OxuPoIwEJZY5Lm5h4x2W1HSflHL9pV6Coeb4RruiAh9 M05GsBxYgSkJGjFJgzH0/oeczJ/LS3R6iwP5GZmejnmiWmiNGiCXdC6WtuAA/6E/bDKD RaDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HwbPk1Xu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-200821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200821-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35c73c298si7908357a12.752.2024.06.04.07.54.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 07:54:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HwbPk1Xu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-200821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200821-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 24AFCB27071 for ; Tue, 4 Jun 2024 14:32:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BCE4135414; Tue, 4 Jun 2024 14:31:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HwbPk1Xu" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 496DA13CF96; Tue, 4 Jun 2024 14:31:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717511497; cv=none; b=gNg4Pz1yhF8zX/L9/HuX+5bX8jrJ9IqZn1MX8W7X7Q1QRmPuU0rcr6/a5zioK+EJYUL+dyOgwIerWqAbO7dOmaW7JqWaNAEEUdsNxnzc1ztceQsva7D/y5hWp7flw7RnybR1aapsTCQguImUcPzxvaMbhTQ3q8rzntUaZvKk4b8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717511497; c=relaxed/simple; bh=1WSGdLp+UD5bFmugssJHEFegRhyeHsX2gBn93rXfMjA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mXdaJ2GB3r7zFOmn025reCw2ByRQklYc6Eph9QknquVUbUdHUJWWUtQs48ljZ/hHCJU01+SBa5/NkVpiTRKtYdQKJX1eWLs5lZWd4DcnnC3dx/MfemsFNLNd1iYCSByvjruYO8+zr5wDtLyJK6Ns6q8kBzYsOr7AOCcbnjDPv/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HwbPk1Xu; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1f61f775738so40110885ad.2; Tue, 04 Jun 2024 07:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717511495; x=1718116295; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=2VGDou59bdsH4zjlcFOpFMQmh8HN0lld2Fx8fUhnGKc=; b=HwbPk1XuDgpUQtV0EVFncMrLjSGHu+C55awmfaACjaMkcOvHsbRSylmfeHBs6ykZ7+ CzA7HLz36nEZ5//qUpqRIY6Xo2PMAg/We/LSh2MbJ2X7BIMNS52UjtUn0vKzJrhLVVAT DCM/VeJ3ZBNVzU66SjTiJkEgkQcEqzp+94Rd3Oc0OZeuwB+fvbgf6W2QCCWZRIJDH7pa 3lGDvUno+NeYVbncIZc0qCHcOCwr0u9L9t6ZsgkiNhFDPL7apTGg1wAAzrlX/nl0BMLP 2kEJZG/V5r7HxfM028ScNH+GNU1UBvlDDHHDSgHivbN3JuxWJ1DX4uw/L3GM92sxba/g P1bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717511495; x=1718116295; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2VGDou59bdsH4zjlcFOpFMQmh8HN0lld2Fx8fUhnGKc=; b=G5aVmMTwYu/mKjC+ODBz1s7kkFQymL7/3PoIqSZUplUFVz9f70hcYfAILiTIvPuqDB /xbp1DCk0jYw2OGi7IW12axsWPlprBA04gTU6hfGx6gusAkFIqtVaNWCANP3dad26EzN pyjq39oLveWII9mkJdgwSeM73y6P39+sKwReX0bxjtSwMzy6kgct/XNJ0iqII72y3Rng kdtr4JY+mHS+cO3ilD6Y0v53VVpU0/In0zX4ZgFJ0WKE143qRqSWBrkd9/qYAciZoGtj ugkHn0CeDHFHSTrRmU1Lwz/37KQogE7mP596Yu4T41NY95RMxuBOH7yqS9v2ebhqSaUg 5Teg== X-Forwarded-Encrypted: i=1; AJvYcCXpxdQHrgI1Ch+Dd8I0CPcK9+OHieaxTHbAAUd063GWjDuMuhb+W8aYgY/B8hQvFw1QP/qxITXQiGLFopX2YRiWWO/MdZR349ZGQbQa36TsZaAnq0sMzpXrSj6vavOwA+7rehjVcEexRjdPn8CazRwEk/eY7tzG/ZgKk95RW4qloLZrmRlF X-Gm-Message-State: AOJu0Yyk1GCtWw79EDMDAf3+vkBg0xL1OebzA03OyTWIYRaqcZ4DAm/i +49g3Z58t9PZt8KkarWmHkIRtBHrSGeeyKJ2TgT5QgKmT/tc56B6 X-Received: by 2002:a17:902:cec6:b0:1f4:8190:33c3 with SMTP id d9443c01a7336-1f637082698mr127997975ad.40.1717511495398; Tue, 04 Jun 2024 07:31:35 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6323e9f2csm84612865ad.200.2024.06.04.07.31.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 07:31:34 -0700 (PDT) Sender: Guenter Roeck Message-ID: <14431116-84c1-4744-a84e-27e9605e7252@roeck-us.net> Date: Tue, 4 Jun 2024 07:31:33 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 3/6] hwmon: (spd5118) Add suspend/resume support To: Stephen Horvath , linux-hwmon@vger.kernel.org Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , Wolfram Sang , =?UTF-8?Q?Ren=C3=A9_Rebe?= , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Armin Wolf References: <20240604040237.1064024-1-linux@roeck-us.net> <20240604040237.1064024-4-linux@roeck-us.net> Content-Language: en-US From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8x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HRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 6/4/24 01:45, Stephen Horvath wrote: > Hi, > > On 4/6/24 14:02, Guenter Roeck wrote: >> Add suspend/resume support to ensure that limit and configuration >> registers are updated and synchronized after a suspend/resume cycle. >> >> Cc: Armin Wolf >> Cc: Stephen Horvath >> Signed-off-by: Guenter Roeck >> --- >> v4: Fix bug seen if the enable attribute was never read prior >>      to a suspend/resume cycle. > > I can confirm this works for my devices, so: > > Tested-by: Stephen Horvath > Thanks a lot for testing! Guenter