From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795974335; b=XC/evg8FDlq5RrcD3cV97l1pOAElXemMqHGBIutWT9YsWuUSpmarGaf0gIdLICBLXqO1 5layshybui4l0uxvcByZuW12rF0+0sPJ+BHzRiqKzgVoOX4YIa5dBaEZJj8TKhnQRPBif RRlvOetJGofk92GoUfmVMq19A7v7I8fzPWyAV/sUyz8y1GSwURuWKq7J+caock1XK78Te ruhObeU2Z0nfpsgOZG417RWA6l2ZICsSyHliJxp1bgdpBKHbY5VCfiH4y5kLlpANjqAQj Sbkr/SKP7aOJva1M4timXWlVN0m4Mcr+DtNQeJR/IndJOh+u4nsa8xLBdrBMapEJ2Hw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795974335; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=E6KwcGf6/LF6/iqm8Bz9pEvi3Y+gfDVdSPi8FXFEQ24=; b=xv+BI16Hi+t29l5uPvi+wqVWGvtvMk8zyzhd87RiAxM76blW64Y297olQc84EXVzNED9 4ydRubZxk/kjsTnFH8BLbg1oIhdmRZpnhMiWafLAINax/98SyYBIoCYMNV3xokbkVoLYU 3Q535RP+5UYJEQnItXptKjCNBPuSzgijjLBqG4ftcfZHV+DOD/z0+MmyW+iE2McVtTeuC YLYfEEexay1yXnwYeLCdkXp4EYct+yDUGfXsWecP20soYoBOtOBqpWIZYdl0kvNYzPszA PIBRk5HlEOtacDNZScFX5cBRFKfL+9MDmTeCeWcrTfIM1rm03FEKZ6z6W/4sIGtb1lQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ilZEBMpe; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C56EF606A31C for ; Sun, 29 Nov 2026 17:45:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ilZEBMpe Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EC0D1F00896; Sun, 29 Nov 2026 17:45:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795974335; bh=E6KwcGf6/LF6/iqm8Bz9pEvi3Y+gfDVdSPi8FXFEQ24=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ilZEBMpep7N1+m27VG42BbSkPiWJa0bnQkwgyxxqe28ihS/ynBUayJbtzJC8BXEY/ bjdlaMsJTvNK1GgtMYgsNG6EzbqBPvfNyXQBfPnxu5HqWpNdihNNvIBm5APa/wGcmp ksiIqPdSfogwE6OSRoLmkVeuNdHO61PpJ7U9Py+IX4RXIeorw0lawVpbZTqgOfizs7 yXdcDlAEyXDkPNroc0tdH9AwT8detqwL7yYQDnw14wGYGwOqjzBD4r1HTG8fo2+lO9 y1+ufqQonFEP2nDBJGPxMnuy6bBe58JJDBWU67bvsG4fO1bxaa3T1qLtq+gU2ldfg9 qWjMr/YlsysYw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] hwmon: (nct6683) Return -EBUSY if a fan curve is no longer supported Reply-To: sashiko-reviews@lists.linux.dev To: "Tomasz Bojanowski" Cc: linux-hwmon@vger.kernel.org In-Reply-To: <20261129174305.813063-1-tomasz@bojanowski.me> References: <20261129174305.813063-1-tomasz@bojanowski.me> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 29 Nov 2026 17:45:34 +0000 X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > Before writing a point of a fan curve, the driver checks that it still > supports the curve which is set in the EC. If it does not, nothing is > written, so this is not an I/O error. Return -EBUSY instead of -EIO. >=20 > Writing pwmN_auto_channels_temp already returns -EBUSY if its check of the > current temperature source fails. >=20 > -EIO is still returned if the EC does not take the new curve. Document > both, and that the check includes whether the curve sets a duty cycle. >=20 > Compile tested. >=20 > Signed-off-by: Tomasz Bojanowski Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261129174305.8130= 63-1-tomasz@bojanowski.me?part=3D1