Subject: [PATCH 0/3] AD7173 fixes

This patch series adds fixes for ad7173 driver that were originally
sent along AD411x series. To ensure that they are included in this
current rc cycle they are sent in a separate series with the Fixes tag.

Signed-off-by: Dumitru Ceclan <[email protected]>
---
Dumitru Ceclan (3):
iio: adc: ad7173: fix buffers enablement for ad7176-2
iio: adc: ad7173: Add ad7173_device_info names
iio: adc: ad7173: Remove index from temp channel

drivers/iio/adc/ad7173.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
---
base-commit: 5ab61121a34759eb2418977f0b3589b7edc57776
change-id: 20240521-ad7173-fixes-4e2e5a061ef2

Best regards,
--
Dumitru Ceclan <[email protected]>




Subject: [PATCH 3/3] iio: adc: ad7173: Remove index from temp channel

From: Dumitru Ceclan <[email protected]>

Temperature channel is unique per device, index is not needed.
This is breaking userspace: Include fixes tag to be released within the
same rc cycle.

Fixes: 8eb903272f75 ("iio: adc: ad7173: add AD7173 driver")
Signed-off-by: Dumitru Ceclan <[email protected]>
---
drivers/iio/adc/ad7173.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c
index 58620be41ef5..eb512878c30e 100644
--- a/drivers/iio/adc/ad7173.c
+++ b/drivers/iio/adc/ad7173.c
@@ -815,7 +815,6 @@ static const struct iio_chan_spec ad7173_channel_template = {

static const struct iio_chan_spec ad7173_temp_iio_channel_template = {
.type = IIO_TEMP,
- .indexed = 1,
.channel = AD7173_AIN_TEMP_POS,
.channel2 = AD7173_AIN_TEMP_NEG,
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW) |

--
2.43.0



2024-05-25 16:44:59

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH 0/3] AD7173 fixes

On Tue, 21 May 2024 11:45:38 +0300
Dumitru Ceclan via B4 Relay <[email protected]> wrote:

> This patch series adds fixes for ad7173 driver that were originally
> sent along AD411x series. To ensure that they are included in this
> current rc cycle they are sent in a separate series with the Fixes tag.
>
> Signed-off-by: Dumitru Ceclan <[email protected]>
Applied to the fixes-togreg branch of iio.git. That has been rebased
on char-misc/char-misc-linus post the char-misc pull request going upstream
but will be rebased again on rc1, probably on Monday.

Jonathan

> ---
> Dumitru Ceclan (3):
> iio: adc: ad7173: fix buffers enablement for ad7176-2
> iio: adc: ad7173: Add ad7173_device_info names
> iio: adc: ad7173: Remove index from temp channel
>
> drivers/iio/adc/ad7173.c | 16 +++++++++++++---
> 1 file changed, 13 insertions(+), 3 deletions(-)
> ---
> base-commit: 5ab61121a34759eb2418977f0b3589b7edc57776
> change-id: 20240521-ad7173-fixes-4e2e5a061ef2
>
> Best regards,