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=1796381568; b=BqMzk6hnI2ZPlm64LjBaFtaUI/XXMyoVFaDGeFG9Bdj8zXptyRllAXX7fPFG8jgsZe6O drul1LpXilh7BTI8+jpd7TbeGpl4KpkUZvNjQSpAvgCHOYjTms9gLfN9doDEjDEFft0EV yHvinQs5OdXttr9/3JRfIs3YL0wSaxot7ztVSetWlseG1OvxG+LBVHDNIxqhLH9D6nHUE k5A9kzZWmEktfEx0Gr688rvxuQdDYgNsxSgSk+ZuuOVJV3AZGu6gZb7HScMkBwa/8wICy awudBw5aoekICGKTPruN7zG8b5PWSyuK1zZf8W147PnvQpLuTlYOfIlKpUAm93SV/dQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796381568; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=w1XYi/7ggTp2+j2RgYPm4Fla9SP21EVhEMORTuUZ7M4=; b=PjfQpECLljcTfbRgdPdPYVWfAi5RMNpEpNdeQpwRO4wdXn0kX6WYf/MSyiVZwsvuxivm gqSIqExHkPg7k1r3HvT9iXxaRFdAfAZlcVAPeWD+X7z75TEHl6XQhW1W4iHav41qHMehV jA2q56bmKNjZI/vz6mbpd6pWhTTeEE8Negq8BMf/5FbvEMUVEd84HYojV9izgdWXCU5Ct Oseoeld+J/hr0TL2X/dSGvUGQc2FjGfnM3h2vE1+njekjNscQbdHrQGng4+2tokHIxg/Y I7PVZmrAWM9p+FI+4oeqxozq/UWkuyDS2GZfqIGGcYUN1xGIgP/HlvrrHg2bB1bSqjg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=oZfZ9Nyv; 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 845BE606A32D; Fri, 4 Dec 2026 10:52:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=oZfZ9Nyv Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2B341F000C2; Fri, 4 Dec 2026 10:52:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796381568; bh=w1XYi/7ggTp2+j2RgYPm4Fla9SP21EVhEMORTuUZ7M4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=oZfZ9NyvZwOV5N0jOIn1JcGPYzGQbEOHkN2fC9BZNXzNOM+8pXTc+2Hi27QicCNwB T5RzFPSTWLKNvh6EUCc2PRBTSyXbyOPkY3+tuLezVZ7CNmOcHkfsrruguNqvLfleYJ CAkeb6mIvSPECG/L7SZblSG6ZcmabammrfHrpg/s= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable , Josef Bacik , =?UTF-8?q?Nuno=20S=C3=A1?= , Jonathan Cameron , Sasha Levin Subject: [PATCH 6.18 081/703] iio: adc: ad7923: add the AD7927 to the SPI ID table Date: Fri, 4 Dec 2026 18:59:40 +0900 Message-ID: <20261204100629.889351981@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100627.522266145@linuxfoundation.org> References: <20261204100627.522266145@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Josef Bacik [ Upstream commit 594157b4f3f64db5833dee679194c33a5968f92e ] The binding describes the AD7927 as compatible = "adi,ad7927", "adi,ad7928"; The OF match takes the second string. The modalias of the SPI device is made from the first one, "ad7927", which is not in the spi_device_id table: spi_get_device_id() returns NULL and ad7923_probe() dereferences it for the chip information. The module is not loaded automatically either, as the uevent of an SPI device says "spi:ad7927". Add the name, with the data of the AD7928. Fixes: 1140f96cd4af ("dt-bindings: iio: adc: ad7923: adjust documentation") Cc: stable Signed-off-by: Josef Bacik Signed-off-by: Greg Kroah-Hartman Reviewed-by: Nuno Sá Signed-off-by: Jonathan Cameron [ sashal: Adapted the new ad7927 entry to the older positional initializer style of the ID table, since the designated-initializer context lines from upstream are not present. ] Signed-off-by: Sasha Levin --- drivers/iio/adc/ad7923.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/ad7923.c b/drivers/iio/adc/ad7923.c index 0369151c7db1e..241dc91647688 100644 --- a/drivers/iio/adc/ad7923.c +++ b/drivers/iio/adc/ad7923.c @@ -366,6 +366,7 @@ static const struct spi_device_id ad7923_id[] = { { "ad7924", AD7924 }, { "ad7908", AD7908 }, { "ad7918", AD7918 }, + { "ad7927", AD7928 }, { "ad7928", AD7928 }, { } }; -- 2.53.0