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=1796383160; b=bS0JVZljm3FbrhewPIiE7p2VyZMeKo/gdda40NEelb1acyah43ISbz7fmvGOzeE8Hupk uVcMJaP5oGmTfdOLddAGi4C36v1CPKmvtJPMuoVVbo/gHeahl4d+9N03b016oD2ABcv2R WeAnDhvDxQE+nexH0gUqI06yv0lavCEBWlh0DA+1xfZWEJa1fe2xa2QVqtY/LECGk24r9 0nyxu5/48x7BidQUgTRTI3nmWP67UP+xoc35RKL0Awy+yLLMb0BFkIq/BBjPa7OPNBZCW 2lkngculKE10QzQfdb+Ly4bknPU9L4Vwa17QZL8DZhEBehSP44nj+3mlDtH0f5ErUrA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796383160; 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=FQIJpzFYeaaX1vCPp3PGMmvPZuPc3fJ/OgOZEpngMj0=; b=m9YewYwthahlgtlJ1DCJ8vgMPbBFtim3wKy7nm7MJLX7jUEZ+Mr3v8yWjcMVCaOkGtuJ Y773FSyctrsWZBXPnQ8qiHLhw3+abcGL4SIpBWcbNqfHIsKrewnFA+oFSQ7dfaenVQLSK o/dgCy8SLhAhgncuKz9Dwid9SKyEdgCn4hhc0oyPv6dUVDi87HCLwE1QWXHpYjHKojrWU lXBleU+j8jTwrJt547fRQuJGbEKTLvfOGoZLlS3S2sJK8SUbDC/WbT0OjbNdtU4jXJor7 CkHxZyBWmoH45sj6L2HhFsyphnc6JBUpdIaxSvvpt32KAPg4riE9u+msYvIT7yklm5w== 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=AfQrKJPj; 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 3FD5B606A32D; Fri, 4 Dec 2026 11:19:20 +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=AfQrKJPj Received: by smtp.kernel.org (Postfix) with ESMTPSA id 776FF1F0092C; Fri, 4 Dec 2026 11:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796383159; bh=FQIJpzFYeaaX1vCPp3PGMmvPZuPc3fJ/OgOZEpngMj0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=AfQrKJPjcHV9hRlQ6ympJ7/rK7gGOuNhZBkz1FtoLdmpbGzHYXvsWYccgIOlVWevD rc7K/8BHwYHeZbgibiljKiAfv6p/F94WCerATStJYkkJrc2ctjtNRGiqxhxBwlPC20 7b0FVeQtal5VKGDreUUx8jBqGK+/Y3UVt0U0qM40= 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.12 107/555] iio: adc: ad7923: add the AD7927 to the SPI ID table Date: Fri, 4 Dec 2026 19:02:30 +0900 Message-ID: <20261204100611.652689435@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100603.988357525@linuxfoundation.org> References: <20261204100603.988357525@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.12-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 spi_device_id entry to the older positional initializer style ({ "ad7927", AD7928 }) instead of designated .name/.driver_data fields. ] 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 acc44cb34f824..46e1d64c294af 100644 --- a/drivers/iio/adc/ad7923.c +++ b/drivers/iio/adc/ad7923.c @@ -367,6 +367,7 @@ static const struct spi_device_id ad7923_id[] = { { "ad7924", AD7924 }, { "ad7908", AD7908 }, { "ad7918", AD7918 }, + { "ad7927", AD7928 }, { "ad7928", AD7928 }, { } }; -- 2.53.0