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=1796386147; b=SAo1kGjJY/NMokwT9CheLbgtSeBwqjMWynyXEJc6cqALczBowgjXjcExWWoieCvnoEQa WyZ1aQGQBZfuHxREaEr25+ExlnpkrBDxlI+gkdSRUihAWz2K+T/v2JRZdHbhcYWanD2hI 8RbMyjiacX8vC87Wp8bSZeImhGp/JOGzEONqYjTbldUpV6EEmEK01ZvCPomrNT0TZWxBw 0VrFqPFjqaDaDxfmUyYWF04Zdd0H8t97Wj5hgo5dTOW2e9rBUmYUcQSe0U94MCzGiCU4L ouLdQszf7saWHDk/q9FZHBjlZnbJ1jxseJrL9uQEIbcS0FSg8EUJ3Ey1Ld1vvyDJEiw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796386147; 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=CC9DKotdxgmLUsBLH8CiLQQlI4S0z5o8Mw1pAD7KCu0=; b=NoLk6Ht8yxxZfBgYIzG+Y4ZME/yVm1mMjuyoziyv3mhEkEeJ+eLgXHZECGjWajD1jQYx zYpSsY3tVeUQBba5Gbf5ciNOjITmG1fI85cV5tBZZNMqZZMYiaLQdsDdkUUQxF4Yi6fsl A329khmZs3VxGW28M4WEACwGPDAOXz9B6eja+7iCTNoO82Kcp4ZxIrITEsP5l6NfBFGm0 DnsXhAGGY34i1Lv44XH8ol+QT5gWYX2vuAm7poicuy3+VwpXbGm5gev8ZKtZ5frmBSKAt JubxzWhIwsDoFtuYoLx8IoSLM6jl9svsCLPw6mBBBUslZlnBdspPGPVkp/qSjSyOeqg== 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=PgZGi2F2; 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 0C2C0606A32D; Fri, 4 Dec 2026 12:09:06 +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=PgZGi2F2 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C32E61F000C2; Fri, 4 Dec 2026 12:09:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796386146; bh=CC9DKotdxgmLUsBLH8CiLQQlI4S0z5o8Mw1pAD7KCu0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=PgZGi2F2rMARVhwJnsRxNKb8/wfSwlGEMPKaBVk5g/WalwqcIPdnOOarodHm9DKT0 0hcPq0oEt+QRwATRmKTwch8WDjSo9d1uBNXehYCjqsaotLcDBlY4KqLLz2WnzyuX01 Lv0FfO4ijF5i0JFHjs/GNKhXnbhEEJRqvzO5YMw4= 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.6 0809/1167] iio: adc: ad7923: add the AD7927 to the SPI ID table Date: Fri, 4 Dec 2026 19:03:56 +0900 Message-ID: <20261204100723.199312337@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100702.047403948@linuxfoundation.org> References: <20261204100702.047403948@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.6-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: Kept the table's existing positional initializer style, adding {"ad7927", AD7928}, instead of upstream's designated-initializer form, because the context lines differed. ] 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 709ce2a500977..b6f4857365c27 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