Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A69C23D3327 for ; Wed, 19 Aug 2026 07:47:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787125665; cv=none; b=fvSR0eQKDvqeHmdPO3ygFR9YzAYGtm8hXy4n7W08j0El+ElJMBH228jQB0GI3TXj7gXcFlWNe7EDFAHXYfTnFQz7Rsu5C8G/SGIUb0sRp8sRvOh7PdaJjyqXFEvSYNlktnlA1cEHOzdG5Ts3YcTTwlrIM84wo/2Jh5bOuwYlMJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787125665; c=relaxed/simple; bh=7Tkb2tiYsa+b2gnBsAOTgikXGg2RbnzW0atMUAGh+UY=; h=Subject:To:From:Date:Message-ID:MIME-Version:Content-Type; b=nNaoq4Xp9Yla5BKNairXOrWxPZQIDvce0ZcQfHrMaz1VtV8DXj7zon19A+0Zok8QvXLLIRppWFuWwzR7xrS4+POBbRhhXwv+jA/uU9QzzkaDpHg+B/rtDFYcQo9oS/maUAP27tGSR1Reg3F9uN5w8uJ/Sg8fB8q10q57mJnbGJg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N+1pmtHq; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="N+1pmtHq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 603401F000E9; Wed, 19 Aug 2026 07:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787125664; bh=Z/KRQpEvSD4nvVrY+9syGVm9OcSeQjN+L5I0M4YcEAY=; h=Subject:To:From:Date; b=N+1pmtHqI2AmUgC+ivt1599voA2OiG4oAs0nJTQxwYl5s/ZAGusQh2Ov1+ciD119u f3GGuaTQX3mQG7xmn1wjV4H74+c/yeRLYJlHCouZ+9PwrAYYgUOX4WTaBNPZu0gnBG xPkSnSROXc601mj+23A7RHxRI1XLDxSVQHKB52os= Subject: patch "iio: light: opt4060: Fix incorrect register name in threshold read" added to char-misc-next To: vidhu.linux@gmail.com,Stable@vger.kernel.org,jonathan.cameron@oss.qualcomm.com From: Date: Wed, 19 Aug 2026 09:44:38 +0200 Message-ID: <2026081938-remover-sizable-dc51@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit This is a note to let you know that I've just added the patch titled iio: light: opt4060: Fix incorrect register name in threshold read to my char-misc git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git in the char-misc-next branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will also be merged in the next major kernel release during the merge window. If you have any questions about this process, please let me know. From ad367638212a9f2495ecfa59c886f0cfb7934e9c Mon Sep 17 00:00:00 2001 From: Vidhu Sarwal Date: Wed, 15 Jul 2026 06:45:44 +0530 Subject: iio: light: opt4060: Fix incorrect register name in threshold read error message opt4060_get_thresholds() correctly reads OPT4060_THRESHOLD_HIGH, but logs "Failed to read THRESHOLD_LOW." if the read fails. This is a copy-and-paste mistake, as the preceding low-threshold read already uses the correct error message. Update the error message to reference OPT4060_THRESHOLD_HIGH. Fixes: 0c6db4506ad0 ("iio: light: Add support for TI OPT4060 color sensor") Signed-off-by: Vidhu Sarwal Cc: Signed-off-by: Jonathan Cameron --- drivers/iio/light/opt4060.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/opt4060.c b/drivers/iio/light/opt4060.c index e3aabfb14d5d..f79dd342937d 100644 --- a/drivers/iio/light/opt4060.c +++ b/drivers/iio/light/opt4060.c @@ -810,7 +810,7 @@ static int opt4060_get_thresholds(struct opt4060_chip *chip, u32 *th_lo, u32 *th ret = regmap_read(chip->regmap, OPT4060_THRESHOLD_HIGH, ®val); if (ret) { - dev_err(chip->dev, "Failed to read THRESHOLD_LOW.\n"); + dev_err(chip->dev, "Failed to read THRESHOLD_HIGH.\n"); return ret; } *th_hi = opt4060_calc_val_from_th_reg(regval); -- 2.55.0