From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 9E5F1394465 for ; Tue, 3 Feb 2026 09:39:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770111556; cv=none; b=Fc8qiYPwdC399sBZoJrWNQjTOn9h6Nw7tYGGV7DgXST5vyVtMnPxhkw2rp3Mx0v3AjW6r3vULr2jbvQ70QPZ8eiVDwbQyv1FKWULELwlthoCBxG051qHcTfLUB7dM1sTdTK8Im4NN6Dvo0hGyKUqciBF/XBSZZ/8SzwMi2K7MxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770111556; c=relaxed/simple; bh=bBG7TvcJENnFYMvO8BCiBF9gagryLSagHnDtoBiXlq0=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=hHV5GsseqTi0UuyzZNvRbp5L8kIH+Tm/XYpYjTWy2L85Nh2BHQ4oLWRvaYEleZR5m8f2bQK8lJIDfPp2XrASt+asi6ULeFMdNUDazyHvRVoVNGarOu/z59Rbv23JQ2nLRVWWDaVC88jb+SIIzv3fz1j+7GC1JISJY2Q6JSo304Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OD9mrJY4; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OD9mrJY4" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-47ee07570deso44857485e9.1 for ; Tue, 03 Feb 2026 01:39:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770111553; x=1770716353; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=bBG7TvcJENnFYMvO8BCiBF9gagryLSagHnDtoBiXlq0=; b=OD9mrJY46Lsw10a4CiMVG9aNmEJN+QdGlzXdExlf4aeMUyyEVeVF7jT+3Uv55KN1UG QIDE1Xx328cmEXXwpCeQvh7iyy8Odsu2PGVZBprOFqLzyNXFRJSaxNBE6/2QppKyWI56 fUtp2B0a0jbrt9rpKN6S4qk6ddgljw24lEQkOq0sdMdK7Zr6OOkjvnJkC7ateWSlOx5f epEmA5WjoVM2YPS6PzbY2yGt5iroajpaxUI6Oe07Yjq0iLLGJL0QVWsHbm+Gu3NeYdUW dhcOZJS75jidppoF+Ji1N/uhjtYs4jrMtCK9Z+zbq+phq42/nJKRlSRbGdb4Mlmdwx2E fkzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770111553; x=1770716353; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bBG7TvcJENnFYMvO8BCiBF9gagryLSagHnDtoBiXlq0=; b=SOCMgPwPj2XB6SnDiIDks1/+kuRs80zy2JofSfsXCOLlBnRZq0lbEt/aP8/0DH9FzX DSPRX4/Rbhxo4JMXMJ9j4BLfH5ur0vRXg04nXOeLNK0AL/BlcJtwZn/KZPCmal9uuOv5 +kn3I5hM6GdEfJH/eHBo0HjiOQNB1PA5uutET8tvT1cdYeuZlV9gVw37KuqrP2tcBe2A Q6RFJAw/b8JWCL+c4GSRUZ3e7VfHCTA0d6c6ChueQLcLJIQTw/zBXl/1AoxjPCWOGbHW XvUI3rYaOj73rzK6bPK7RbcG8R3N3sG/EaUn368mZp7/bvf6GIDzJPRV+WDBD/pm8VsJ eINA== X-Forwarded-Encrypted: i=1; AJvYcCUKA7xM69KExP9u3pgrfD14bLeuvBTrjq7PkZSM+LiB3mMQPGic8uvHNQdLcZAK/AvNHzGoFdeji9+HNfk=@vger.kernel.org X-Gm-Message-State: AOJu0YygbnXfVmaNEdZKQ7QCYpmileu1A3wbuPWzfq/L6kDpQtWhMDrP tl6nLnkWVJe5oRak92F3MzOarbYucZwKWXsen5Zub6f0zVUVM8GqrA5v X-Gm-Gg: AZuq6aL8gSBxuo8YceMODDlmfcnaGRtccOWLSA0APnnxNqmzqGbN7Hstf8Knh9r9L/S wquQ9Z8uRr8xvF0q30t33ZrZRYk/3Lf6jF9DVB5/GxihoYvxI0oc/gT4Zg3RSDleAHRBkuUJuNl B81xgeRHJsEm6nslAYqCRiK7QY9MIEubio86hhI57J3C3Tjj3ZfP0E5uctQRkuiW5hkaySrqScg 9DUmyAIhuuNwyi0I4rWV8ihzesxEadWHeEEB3kPHPr9FXYvSgSPv5qX/vORjijv4vHg6TaIkO7S OI1tjQ9qMFj3KXNaJg2ZV5c0f59+5kP1DUYnaXmkHwqCNYK+3BaKzV8CHq0S5wUggAwI8yDWsc2 wPNHJ4cNCG8524JArf8QtMVuZeBx8HVG6U64vObzwQSJZJEG3rIR2vKUfHbBv7iFrkiO6EqMk4z 8Hwuw87HuC9LQpVY+dMYE= X-Received: by 2002:a05:600c:3e1b:b0:477:a978:3a7b with SMTP id 5b1f17b1804b1-482db491ea2mr185259255e9.22.1770111552791; Tue, 03 Feb 2026 01:39:12 -0800 (PST) Received: from [192.168.1.187] ([148.63.225.166]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4830512e0edsm54373425e9.7.2026.02.03.01.39.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 01:39:12 -0800 (PST) Message-ID: <0b16fc61249b507bb65f3f0f4a9c1e5eef4b41a4.camel@gmail.com> Subject: Re: [PATCH] iio: gyro: mpu3050-i2c: use pm_runtime_resume_and_get() From: Nuno =?ISO-8859-1?Q?S=E1?= To: Jonathan Cameron , Antoniu Miclaus Cc: Linus Walleij , David Lechner , Nuno =?ISO-8859-1?Q?S=E1?= , Andy Shevchenko , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 03 Feb 2026 09:39:55 +0000 In-Reply-To: <20260131164135.35f07a27@jic23-huawei> References: <20260130153227.213413-1-antoniu.miclaus@analog.com> <20260131164135.35f07a27@jic23-huawei> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Sat, 2026-01-31 at 16:41 +0000, Jonathan Cameron wrote: > On Fri, 30 Jan 2026 17:32:26 +0200 > Antoniu Miclaus wrote: >=20 > > Use pm_runtime_resume_and_get() in bypass_select() and return its > > result directly. Unlike pm_runtime_get_sync(), it doesn't increment > > the refcount on failure. > >=20 > > Signed-off-by: Antoniu Miclaus >=20 > Please always put a cover letter on anything with more than one patch. > Provides both a nice name for the series in patchwork etc and a=20 > single place to reply. >=20 > Are these fixes?=C2=A0 What is side effect of the wrong ref count? Yeps, at first glance I would count this as a fix... - Nuno S=C3=A1 >=20