[PATCH 2/2] iio: adc: ad799x: add reference voltage to ad7994

Stefano Manni posted 2 patches 2 months ago
[PATCH 2/2] iio: adc: ad799x: add reference voltage to ad7994
Posted by Stefano Manni 2 months ago
Signed-off-by: Stefano Manni <stefano.manni@gmail.com>
---
 drivers/iio/adc/ad799x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c
index 955d845407b9..21e03f0df889 100644
--- a/drivers/iio/adc/ad799x.c
+++ b/drivers/iio/adc/ad799x.c
@@ -694,7 +694,7 @@ static const struct ad799x_chip_info ad799x_chip_info_tbl[] = {
 	},
 	[ad7994] = {
 		.num_channels = 5,
-		.has_vref = false,
+		.has_vref = true,
 		.noirq_config = {
 			.channel = {
 				AD799X_CHANNEL(0, 12),
-- 
2.48.1
Re: [PATCH 2/2] iio: adc: ad799x: add reference voltage to ad7994
Posted by Andy Shevchenko 1 month, 4 weeks ago
On Wed, Aug 06, 2025 at 11:01:58AM +0200, Stefano Manni wrote:

Missing commit message.

> Signed-off-by: Stefano Manni <stefano.manni@gmail.com>

...

>  	[ad7994] = {
>  		.num_channels = 5,
> -		.has_vref = false,
> +		.has_vref = true,

As Jonathan said and I implied the false is default. This patch should be just
a oneliner with +1 line.

-- 
With Best Regards,
Andy Shevchenko