* [PATCH 01/23] iio: accel: adxl380: make use of iio_get_masklength()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
@ 2024-07-26 8:22 ` Nuno Sa via B4 Relay
2024-07-26 8:22 ` [PATCH 02/23] iio: adc: max1118: make use of iio_for_each_active_channel() Nuno Sa via B4 Relay
` (22 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:22 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_get_masklength() to access '.masklength' so it can be annotated
as __private when there are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/accel/adxl380.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/accel/adxl380.c b/drivers/iio/accel/adxl380.c
index 41b01792161c..98863e22bb6b 100644
--- a/drivers/iio/accel/adxl380.c
+++ b/drivers/iio/accel/adxl380.c
@@ -1110,7 +1110,7 @@ static int adxl380_buffer_postenable(struct iio_dev *indio_dev)
}
st->fifo_set_size = bitmap_weight(indio_dev->active_scan_mask,
- indio_dev->masklength);
+ iio_get_masklength(indio_dev));
if ((st->watermark * st->fifo_set_size) > ADXL380_FIFO_SAMPLES)
st->watermark = (ADXL380_FIFO_SAMPLES / st->fifo_set_size);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 02/23] iio: adc: max1118: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
2024-07-26 8:22 ` [PATCH 01/23] iio: accel: adxl380: make use of iio_get_masklength() Nuno Sa via B4 Relay
@ 2024-07-26 8:22 ` Nuno Sa via B4 Relay
2024-07-26 8:22 ` [PATCH 03/23] " Nuno Sa via B4 Relay
` (21 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:22 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ina2xx-adc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ina2xx-adc.c b/drivers/iio/adc/ina2xx-adc.c
index 727e390bd979..0fc24bceb58a 100644
--- a/drivers/iio/adc/ina2xx-adc.c
+++ b/drivers/iio/adc/ina2xx-adc.c
@@ -755,8 +755,7 @@ static int ina2xx_work_buffer(struct iio_dev *indio_dev)
* Single register reads: bulk_read will not work with ina226/219
* as there is no auto-increment of the register pointer.
*/
- for_each_set_bit(bit, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, bit) {
unsigned int val;
ret = regmap_read(chip->regmap,
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 03/23] iio: adc: max1118: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
2024-07-26 8:22 ` [PATCH 01/23] iio: accel: adxl380: make use of iio_get_masklength() Nuno Sa via B4 Relay
2024-07-26 8:22 ` [PATCH 02/23] iio: adc: max1118: make use of iio_for_each_active_channel() Nuno Sa via B4 Relay
@ 2024-07-26 8:22 ` Nuno Sa via B4 Relay
2024-07-26 8:22 ` [PATCH 04/23] iio: adc: mcp3911: " Nuno Sa via B4 Relay
` (20 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:22 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/max1118.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iio/adc/max1118.c b/drivers/iio/adc/max1118.c
index 75ab57d9aef74..0beccfde81f26 100644
--- a/drivers/iio/adc/max1118.c
+++ b/drivers/iio/adc/max1118.c
@@ -174,8 +174,7 @@ static irqreturn_t max1118_trigger_handler(int irq, void *p)
mutex_lock(&adc->lock);
- for_each_set_bit(scan_index, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, scan_index) {
const struct iio_chan_spec *scan_chan =
&indio_dev->channels[scan_index];
int ret = max1118_read(indio_dev, scan_chan->channel);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 04/23] iio: adc: mcp3911: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (2 preceding siblings ...)
2024-07-26 8:22 ` [PATCH 03/23] " Nuno Sa via B4 Relay
@ 2024-07-26 8:22 ` Nuno Sa via B4 Relay
2024-07-26 8:22 ` [PATCH 05/23] iio: adc: mt6360-adc: " Nuno Sa via B4 Relay
` (19 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:22 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/mcp3911.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/mcp3911.c b/drivers/iio/adc/mcp3911.c
index 5076028f541d..d0e77971c5d3 100644
--- a/drivers/iio/adc/mcp3911.c
+++ b/drivers/iio/adc/mcp3911.c
@@ -510,7 +510,7 @@ static irqreturn_t mcp3911_trigger_handler(int irq, void *p)
goto out;
}
- for_each_set_bit(scan_index, indio_dev->active_scan_mask, indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, scan_index) {
const struct iio_chan_spec *scan_chan = &indio_dev->channels[scan_index];
adc->scan.channels[i] = get_unaligned_be24(&adc->rx_buf[scan_chan->channel * 3]);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 05/23] iio: adc: mt6360-adc: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (3 preceding siblings ...)
2024-07-26 8:22 ` [PATCH 04/23] iio: adc: mcp3911: " Nuno Sa via B4 Relay
@ 2024-07-26 8:22 ` Nuno Sa via B4 Relay
2024-07-26 12:14 ` AngeloGioacchino Del Regno
2024-07-26 8:22 ` [PATCH 06/23] iio: adc: rockchip_saradc: " Nuno Sa via B4 Relay
` (18 subsequent siblings)
23 siblings, 1 reply; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:22 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/mt6360-adc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/mt6360-adc.c b/drivers/iio/adc/mt6360-adc.c
index 3710473e526fc..f74347663ad80 100644
--- a/drivers/iio/adc/mt6360-adc.c
+++ b/drivers/iio/adc/mt6360-adc.c
@@ -268,7 +268,7 @@ static irqreturn_t mt6360_adc_trigger_handler(int irq, void *p)
int i = 0, bit, val, ret;
memset(&data, 0, sizeof(data));
- for_each_set_bit(bit, indio_dev->active_scan_mask, indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, bit) {
ret = mt6360_adc_read_channel(mad, bit, &val);
if (ret < 0) {
dev_warn(&indio_dev->dev, "Failed to get channel %d conversion val\n", bit);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* Re: [PATCH 05/23] iio: adc: mt6360-adc: make use of iio_for_each_active_channel()
2024-07-26 8:22 ` [PATCH 05/23] iio: adc: mt6360-adc: " Nuno Sa via B4 Relay
@ 2024-07-26 12:14 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 28+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-07-26 12:14 UTC (permalink / raw)
To: nuno.sa, linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Francesco Dolcini,
João Paulo Gonçalves, Haibo Chen, Michal Simek,
Benson Leung, Guenter Roeck, Greg Kroah-Hartman
Il 26/07/24 10:22, Nuno Sa via B4 Relay ha scritto:
> From: Nuno Sa <nuno.sa@analog.com>
>
> Use iio_for_each_active_channel() to iterate over active channels
> accessing '.masklength' so it can be annotated as __private when there are
> no more direct users of it.
>
> Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 28+ messages in thread
* [PATCH 06/23] iio: adc: rockchip_saradc: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (4 preceding siblings ...)
2024-07-26 8:22 ` [PATCH 05/23] iio: adc: mt6360-adc: " Nuno Sa via B4 Relay
@ 2024-07-26 8:22 ` Nuno Sa via B4 Relay
2024-07-29 16:52 ` Heiko Stübner
2024-07-26 8:22 ` [PATCH 07/23] iio: adc: rtq6056: " Nuno Sa via B4 Relay
` (17 subsequent siblings)
23 siblings, 1 reply; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:22 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/rockchip_saradc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
index bbe954a738c7..71f58e3a8307 100644
--- a/drivers/iio/adc/rockchip_saradc.c
+++ b/drivers/iio/adc/rockchip_saradc.c
@@ -370,7 +370,7 @@ static irqreturn_t rockchip_saradc_trigger_handler(int irq, void *p)
mutex_lock(&info->lock);
- for_each_set_bit(i, i_dev->active_scan_mask, i_dev->masklength) {
+ iio_for_each_active_channel(i_dev, i) {
const struct iio_chan_spec *chan = &i_dev->channels[i];
ret = rockchip_saradc_conversion(info, chan);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* Re: [PATCH 06/23] iio: adc: rockchip_saradc: make use of iio_for_each_active_channel()
2024-07-26 8:22 ` [PATCH 06/23] iio: adc: rockchip_saradc: " Nuno Sa via B4 Relay
@ 2024-07-29 16:52 ` Heiko Stübner
0 siblings, 0 replies; 28+ messages in thread
From: Heiko Stübner @ 2024-07-29 16:52 UTC (permalink / raw)
To: linux-iio, linux-staging, nuno.sa
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Maxime Coquelin, Alexandre Torgue, Francesco Dolcini,
João Paulo Gonçalves, Haibo Chen, Michal Simek,
Benson Leung, Guenter Roeck, Greg Kroah-Hartman
Am Freitag, 26. Juli 2024, 10:22:58 CEST schrieb Nuno Sa via B4 Relay:
> From: Nuno Sa <nuno.sa@analog.com>
>
> Use iio_for_each_active_channel() to iterate over active channels
> accessing '.masklength' so it can be annotated as __private when there are
> no more direct users of it.
>
> Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
> ---
> drivers/iio/adc/rockchip_saradc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
> index bbe954a738c7..71f58e3a8307 100644
> --- a/drivers/iio/adc/rockchip_saradc.c
> +++ b/drivers/iio/adc/rockchip_saradc.c
> @@ -370,7 +370,7 @@ static irqreturn_t rockchip_saradc_trigger_handler(int irq, void *p)
>
> mutex_lock(&info->lock);
>
> - for_each_set_bit(i, i_dev->active_scan_mask, i_dev->masklength) {
> + iio_for_each_active_channel(i_dev, i) {
> const struct iio_chan_spec *chan = &i_dev->channels[i];
>
> ret = rockchip_saradc_conversion(info, chan);
>
>
^ permalink raw reply [flat|nested] 28+ messages in thread
* [PATCH 07/23] iio: adc: rtq6056: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (5 preceding siblings ...)
2024-07-26 8:22 ` [PATCH 06/23] iio: adc: rockchip_saradc: " Nuno Sa via B4 Relay
@ 2024-07-26 8:22 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 08/23] iio: adc: stm32-adc: make use of iio_get_masklength() Nuno Sa via B4 Relay
` (16 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:22 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/rtq6056.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/rtq6056.c b/drivers/iio/adc/rtq6056.c
index bcb129840908..45b1b81c9fdd 100644
--- a/drivers/iio/adc/rtq6056.c
+++ b/drivers/iio/adc/rtq6056.c
@@ -643,7 +643,7 @@ static irqreturn_t rtq6056_buffer_trigger_handler(int irq, void *p)
pm_runtime_get_sync(dev);
- for_each_set_bit(bit, indio_dev->active_scan_mask, indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, bit) {
unsigned int addr = rtq6056_channels[bit].address;
ret = regmap_read(priv->regmap, addr, &raw);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 08/23] iio: adc: stm32-adc: make use of iio_get_masklength()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (6 preceding siblings ...)
2024-07-26 8:22 ` [PATCH 07/23] iio: adc: rtq6056: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 09/23] iio: adc: stm32-dfsdm-adc: " Nuno Sa via B4 Relay
` (15 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_get_masklength() to access '.masklength' so it can be annotated
as __private when there are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/stm32-adc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/adc/stm32-adc.c b/drivers/iio/adc/stm32-adc.c
index 375aa7720f80..c901ba1bc6ba 100644
--- a/drivers/iio/adc/stm32-adc.c
+++ b/drivers/iio/adc/stm32-adc.c
@@ -1261,7 +1261,7 @@ static int stm32_adc_conf_scan_seq(struct iio_dev *indio_dev,
stm32_adc_writel(adc, adc->cfg->regs->smpr[0], adc->smpr_val[0]);
stm32_adc_writel(adc, adc->cfg->regs->smpr[1], adc->smpr_val[1]);
- for_each_set_bit(bit, scan_mask, indio_dev->masklength) {
+ for_each_set_bit(bit, scan_mask, iio_get_masklength(indio_dev)) {
chan = indio_dev->channels + bit;
/*
* Assign one channel per SQ entry in regular
@@ -1619,7 +1619,7 @@ static int stm32_adc_update_scan_mode(struct iio_dev *indio_dev,
if (ret < 0)
return ret;
- adc->num_conv = bitmap_weight(scan_mask, indio_dev->masklength);
+ adc->num_conv = bitmap_weight(scan_mask, iio_get_masklength(indio_dev));
ret = stm32_adc_conf_scan_seq(indio_dev, scan_mask);
pm_runtime_mark_last_busy(dev);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 09/23] iio: adc: stm32-dfsdm-adc: make use of iio_get_masklength()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (7 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 08/23] iio: adc: stm32-adc: make use of iio_get_masklength() Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 10/23] iio: adc: ti-adc0832: make use of iio_for_each_active_channel() Nuno Sa via B4 Relay
` (14 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_get_masklength() to access '.masklength' so it can be annotated
as __private when there are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/stm32-dfsdm-adc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c b/drivers/iio/adc/stm32-dfsdm-adc.c
index fabd654245f5..15b8a4c0b272 100644
--- a/drivers/iio/adc/stm32-dfsdm-adc.c
+++ b/drivers/iio/adc/stm32-dfsdm-adc.c
@@ -987,7 +987,7 @@ static int stm32_dfsdm_update_scan_mode(struct iio_dev *indio_dev,
{
struct stm32_dfsdm_adc *adc = iio_priv(indio_dev);
- adc->nconv = bitmap_weight(scan_mask, indio_dev->masklength);
+ adc->nconv = bitmap_weight(scan_mask, iio_get_masklength(indio_dev));
adc->smask = *scan_mask;
dev_dbg(&indio_dev->dev, "nconv=%d mask=%lx\n", adc->nconv, *scan_mask);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 10/23] iio: adc: ti-adc0832: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (8 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 09/23] iio: adc: stm32-dfsdm-adc: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 11/23] iio: adc: ti-adc084s021: " Nuno Sa via B4 Relay
` (13 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-adc0832.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ti-adc0832.c b/drivers/iio/adc/ti-adc0832.c
index b11ce555ba3b..d7800e1fa536 100644
--- a/drivers/iio/adc/ti-adc0832.c
+++ b/drivers/iio/adc/ti-adc0832.c
@@ -211,8 +211,7 @@ static irqreturn_t adc0832_trigger_handler(int irq, void *p)
mutex_lock(&adc->lock);
- for_each_set_bit(scan_index, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, scan_index) {
const struct iio_chan_spec *scan_chan =
&indio_dev->channels[scan_index];
int ret = adc0832_adc_conversion(adc, scan_chan->channel,
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 11/23] iio: adc: ti-adc084s021: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (9 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 10/23] iio: adc: ti-adc0832: make use of iio_for_each_active_channel() Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 12/23] iio: adc: ti-ads1015: make use of iio_get_masklength() Nuno Sa via B4 Relay
` (12 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-adc084s021.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ti-adc084s021.c b/drivers/iio/adc/ti-adc084s021.c
index 1f6e53832e06..4a07c6295a2b 100644
--- a/drivers/iio/adc/ti-adc084s021.c
+++ b/drivers/iio/adc/ti-adc084s021.c
@@ -166,8 +166,7 @@ static int adc084s021_buffer_preenable(struct iio_dev *indio_dev)
int scan_index;
int i = 0;
- for_each_set_bit(scan_index, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, scan_index) {
const struct iio_chan_spec *channel =
&indio_dev->channels[scan_index];
adc->tx_buf[i++] = channel->channel << 3;
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 12/23] iio: adc: ti-ads1015: make use of iio_get_masklength()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (10 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 11/23] iio: adc: ti-adc084s021: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 13/23] iio: adc: ti-ads1119: " Nuno Sa via B4 Relay
` (11 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_get_masklength() to access '.masklength' so it can be annotated
as __private when there are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-ads1015.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/ti-ads1015.c b/drivers/iio/adc/ti-ads1015.c
index d3363d02f292..ca432c49eab1 100644
--- a/drivers/iio/adc/ti-ads1015.c
+++ b/drivers/iio/adc/ti-ads1015.c
@@ -456,7 +456,7 @@ static irqreturn_t ads1015_trigger_handler(int irq, void *p)
mutex_lock(&data->lock);
chan = find_first_bit(indio_dev->active_scan_mask,
- indio_dev->masklength);
+ iio_get_masklength(indio_dev));
ret = ads1015_get_adc_result(data, chan, &res);
if (ret < 0) {
mutex_unlock(&data->lock);
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 13/23] iio: adc: ti-ads1119: make use of iio_get_masklength()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (11 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 12/23] iio: adc: ti-ads1015: make use of iio_get_masklength() Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-28 19:55 ` João Paulo Gonçalves
2024-07-26 8:23 ` [PATCH 14/23] iio: adc: ti-ads1298: make use of iio_for_each_active_channel() Nuno Sa via B4 Relay
` (10 subsequent siblings)
23 siblings, 1 reply; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_get_masklength() to access '.masklength' so it can be annotated
as __private when there are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-ads1119.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ti-ads1119.c b/drivers/iio/adc/ti-ads1119.c
index 630f5d5f9a60..44d9f69c9df3 100644
--- a/drivers/iio/adc/ti-ads1119.c
+++ b/drivers/iio/adc/ti-ads1119.c
@@ -435,7 +435,7 @@ static int ads1119_triggered_buffer_preenable(struct iio_dev *indio_dev)
int ret;
index = find_first_bit(indio_dev->active_scan_mask,
- indio_dev->masklength);
+ iio_get_masklength(indio_dev));
ret = ads1119_set_conv_mode(st, true);
if (ret)
@@ -508,7 +508,7 @@ static irqreturn_t ads1119_trigger_handler(int irq, void *private)
if (!iio_trigger_using_own(indio_dev)) {
index = find_first_bit(indio_dev->active_scan_mask,
- indio_dev->masklength);
+ iio_get_masklength(indio_dev));
ret = ads1119_poll_data_ready(st, &indio_dev->channels[index]);
if (ret) {
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* Re: [PATCH 13/23] iio: adc: ti-ads1119: make use of iio_get_masklength()
2024-07-26 8:23 ` [PATCH 13/23] iio: adc: ti-ads1119: " Nuno Sa via B4 Relay
@ 2024-07-28 19:55 ` João Paulo Gonçalves
0 siblings, 0 replies; 28+ messages in thread
From: João Paulo Gonçalves @ 2024-07-28 19:55 UTC (permalink / raw)
To: nuno.sa
Cc: linux-iio, linux-staging, Lars-Peter Clausen, Michael Hennerich,
Ramona Gradinariu, Antoniu Miclaus, Jonathan Cameron,
Marcus Folkesson, Kent Gustavsson, Matthias Brugger,
AngeloGioacchino Del Regno, Heiko Stuebner, Maxime Coquelin,
Alexandre Torgue, Francesco Dolcini, Haibo Chen, Michal Simek,
Benson Leung, Guenter Roeck, Greg Kroah-Hartman
On Fri, Jul 26, 2024 at 10:23:05AM +0200, Nuno Sa via B4 Relay wrote:
> From: Nuno Sa <nuno.sa@analog.com>
>
> Use iio_get_masklength() to access '.masklength' so it can be annotated
> as __private when there are no more direct users of it.
>
> Signed-off-by: Nuno Sa <nuno.sa@analog.com>
> ---
> drivers/iio/adc/ti-ads1119.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/adc/ti-ads1119.c b/drivers/iio/adc/ti-ads1119.c
> index 630f5d5f9a60..44d9f69c9df3 100644
> --- a/drivers/iio/adc/ti-ads1119.c
> +++ b/drivers/iio/adc/ti-ads1119.c
> @@ -435,7 +435,7 @@ static int ads1119_triggered_buffer_preenable(struct iio_dev *indio_dev)
> int ret;
>
> index = find_first_bit(indio_dev->active_scan_mask,
> - indio_dev->masklength);
> + iio_get_masklength(indio_dev));
>
> ret = ads1119_set_conv_mode(st, true);
> if (ret)
> @@ -508,7 +508,7 @@ static irqreturn_t ads1119_trigger_handler(int irq, void *private)
>
> if (!iio_trigger_using_own(indio_dev)) {
> index = find_first_bit(indio_dev->active_scan_mask,
> - indio_dev->masklength);
> + iio_get_masklength(indio_dev));
>
> ret = ads1119_poll_data_ready(st, &indio_dev->channels[index]);
> if (ret) {
>
> --
> 2.45.2
>
>
Reviewed-by: João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
Best Regards,
João Paulo
^ permalink raw reply [flat|nested] 28+ messages in thread
* [PATCH 14/23] iio: adc: ti-ads1298: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (12 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 13/23] iio: adc: ti-ads1119: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 15/23] iio: adc: ti-adc12138: " Nuno Sa via B4 Relay
` (9 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-ads1298.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ti-ads1298.c b/drivers/iio/adc/ti-ads1298.c
index 1d1eaba3d6d1..13cb32125eef 100644
--- a/drivers/iio/adc/ti-ads1298.c
+++ b/drivers/iio/adc/ti-ads1298.c
@@ -502,8 +502,7 @@ static void ads1298_rdata_complete(void *context)
}
/* Demux the channel data into our bounce buffer */
- for_each_set_bit(scan_index, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, scan_index) {
const struct iio_chan_spec *scan_chan =
&indio_dev->channels[scan_index];
const u8 *data = priv->rx_buffer + scan_chan->address;
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 15/23] iio: adc: ti-adc12138: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (13 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 14/23] iio: adc: ti-ads1298: make use of iio_for_each_active_channel() Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 16/23] iio: adc: ti-ads124s08: " Nuno Sa via B4 Relay
` (8 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-adc12138.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ti-adc12138.c b/drivers/iio/adc/ti-adc12138.c
index c0a72d72f3a9..a2cd8c454e11 100644
--- a/drivers/iio/adc/ti-adc12138.c
+++ b/drivers/iio/adc/ti-adc12138.c
@@ -344,8 +344,7 @@ static irqreturn_t adc12138_trigger_handler(int irq, void *p)
mutex_lock(&adc->lock);
- for_each_set_bit(scan_index, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, scan_index) {
const struct iio_chan_spec *scan_chan =
&indio_dev->channels[scan_index];
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 16/23] iio: adc: ti-ads124s08: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (14 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 15/23] iio: adc: ti-adc12138: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 17/23] iio: adc: ti-ads131e08: " Nuno Sa via B4 Relay
` (7 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-ads124s08.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iio/adc/ti-ads124s08.c b/drivers/iio/adc/ti-ads124s08.c
index 4ca62121f0d17..c115f892232ae 100644
--- a/drivers/iio/adc/ti-ads124s08.c
+++ b/drivers/iio/adc/ti-ads124s08.c
@@ -279,8 +279,7 @@ static irqreturn_t ads124s_trigger_handler(int irq, void *p)
int scan_index, j = 0;
int ret;
- for_each_set_bit(scan_index, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, scan_index) {
ret = ads124s_write_reg(indio_dev, ADS124S08_INPUT_MUX,
scan_index);
if (ret)
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 17/23] iio: adc: ti-ads131e08: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (15 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 16/23] iio: adc: ti-ads124s08: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 18/23] iio: adc: ti-ads8688: " Nuno Sa via B4 Relay
` (6 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-ads131e08.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/ti-ads131e08.c b/drivers/iio/adc/ti-ads131e08.c
index 96dd9366f8ff..55366ffb0489 100644
--- a/drivers/iio/adc/ti-ads131e08.c
+++ b/drivers/iio/adc/ti-ads131e08.c
@@ -637,7 +637,7 @@ static irqreturn_t ads131e08_trigger_handler(int irq, void *private)
if (ret)
goto out;
- for_each_set_bit(chn, indio_dev->active_scan_mask, indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, chn) {
src = st->rx_buf + ADS131E08_NUM_STATUS_BYTES + chn * num_bytes;
dest = st->tmp_buf.data + i * ADS131E08_NUM_STORAGE_BYTES;
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 18/23] iio: adc: ti-ads8688: make use of iio_for_each_active_channel()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (16 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 17/23] iio: adc: ti-ads131e08: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 19/23] iio: adc: vf610_adc: make use of iio_get_masklength() Nuno Sa via B4 Relay
` (5 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_for_each_active_channel() to iterate over active channels
accessing '.masklength' so it can be annotated as __private when there are
no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/ti-ads8688.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ti-ads8688.c b/drivers/iio/adc/ti-ads8688.c
index 7a79f0cebfbf..94cc823b26f3 100644
--- a/drivers/iio/adc/ti-ads8688.c
+++ b/drivers/iio/adc/ti-ads8688.c
@@ -384,9 +384,7 @@ static irqreturn_t ads8688_trigger_handler(int irq, void *p)
u16 buffer[ADS8688_MAX_CHANNELS + sizeof(s64)/sizeof(u16)] __aligned(8);
int i, j = 0;
- for (i = 0; i < indio_dev->masklength; i++) {
- if (!test_bit(i, indio_dev->active_scan_mask))
- continue;
+ iio_for_each_active_channel(indio_dev, i) {
buffer[j] = ads8688_read(indio_dev, i);
j++;
}
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 19/23] iio: adc: vf610_adc: make use of iio_get_masklength()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (17 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 18/23] iio: adc: ti-ads8688: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 20/23] iio: adc: xilinx-xadc-core: use new '.masklength' accessors Nuno Sa via B4 Relay
` (4 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_get_masklength() to access '.masklength' so it can be annotated
as __private when there are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/vf610_adc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/vf610_adc.c b/drivers/iio/adc/vf610_adc.c
index e4548df3f8fb..5afd2feb8c3d 100644
--- a/drivers/iio/adc/vf610_adc.c
+++ b/drivers/iio/adc/vf610_adc.c
@@ -752,7 +752,7 @@ static int vf610_adc_buffer_postenable(struct iio_dev *indio_dev)
writel(val, info->regs + VF610_REG_ADC_GC);
channel = find_first_bit(indio_dev->active_scan_mask,
- indio_dev->masklength);
+ iio_get_masklength(indio_dev));
val = VF610_ADC_ADCHC(channel);
val |= VF610_ADC_AIEN;
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 20/23] iio: adc: xilinx-xadc-core: use new '.masklength' accessors
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (18 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 19/23] iio: adc: vf610_adc: make use of iio_get_masklength() Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 21/23] iio: common: cros_ec_sensors_core: " Nuno Sa via B4 Relay
` (3 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Make use of iio_get_masklength) and iio_for_each_active_channel() to
access '.masklength' so it can be annotated as __private when there
are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/adc/xilinx-xadc-core.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c
index 564c0cad0fc79..cfbfcaefec0fc 100644
--- a/drivers/iio/adc/xilinx-xadc-core.c
+++ b/drivers/iio/adc/xilinx-xadc-core.c
@@ -628,7 +628,7 @@ static int xadc_update_scan_mode(struct iio_dev *indio_dev,
size_t n;
void *data;
- n = bitmap_weight(mask, indio_dev->masklength);
+ n = bitmap_weight(mask, iio_get_masklength(indio_dev));
data = devm_krealloc_array(indio_dev->dev.parent, xadc->data,
n, sizeof(*xadc->data), GFP_KERNEL);
@@ -681,8 +681,7 @@ static irqreturn_t xadc_trigger_handler(int irq, void *p)
goto out;
j = 0;
- for_each_set_bit(i, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, i) {
chan = xadc_scan_index_to_channel(i);
xadc_read_adc_reg(xadc, chan, &xadc->data[j]);
j++;
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 21/23] iio: common: cros_ec_sensors_core: use new '.masklength' accessors
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (19 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 20/23] iio: adc: xilinx-xadc-core: use new '.masklength' accessors Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 22/23] staging: iio: impedance-analyzer: ad5933: make use of iio_get_masklength() Nuno Sa via B4 Relay
` (2 subsequent siblings)
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Make use of iio_get_masklength) and iio_for_each_active_channel() to
access '.masklength' so it can be annotated as __private when there
are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
index 6bfe5d6847e75..9fc71a73caa12 100644
--- a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
+++ b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
@@ -198,9 +198,7 @@ int cros_ec_sensors_push_data(struct iio_dev *indio_dev,
return 0;
out = (s16 *)st->samples;
- for_each_set_bit(i,
- indio_dev->active_scan_mask,
- indio_dev->masklength) {
+ iio_for_each_active_channel(indio_dev, i) {
*out = data[i];
out++;
}
@@ -587,7 +585,7 @@ static int cros_ec_sensors_read_data_unsafe(struct iio_dev *indio_dev,
int ret;
/* Read all sensors enabled in scan_mask. Each value is 2 bytes. */
- for_each_set_bit(i, &scan_mask, indio_dev->masklength) {
+ for_each_set_bit(i, &scan_mask, iio_get_masklength(indio_dev)) {
ret = cros_ec_sensors_cmd_read_u16(ec,
cros_ec_sensors_idx_to_reg(st, i),
data);
@@ -683,7 +681,7 @@ int cros_ec_sensors_read_cmd(struct iio_dev *indio_dev,
return ret;
}
- for_each_set_bit(i, &scan_mask, indio_dev->masklength) {
+ for_each_set_bit(i, &scan_mask, iio_get_masklength(indio_dev)) {
*data = st->resp->data.data[i];
data++;
}
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 22/23] staging: iio: impedance-analyzer: ad5933: make use of iio_get_masklength()
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (20 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 21/23] iio: common: cros_ec_sensors_core: " Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-07-26 8:23 ` [PATCH 23/23] iio: core: annotate masklength as __private Nuno Sa via B4 Relay
2024-08-14 18:46 ` [PATCH 00/23] iio: make masklength __private (final round) Jonathan Cameron
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Use iio_get_masklength() to access '.masklength' so it can be annotated
as __private when there are no more direct users of it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/staging/iio/impedance-analyzer/ad5933.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c
index cd00d9607565..4ae1a7039418 100644
--- a/drivers/staging/iio/impedance-analyzer/ad5933.c
+++ b/drivers/staging/iio/impedance-analyzer/ad5933.c
@@ -547,7 +547,8 @@ static int ad5933_ring_preenable(struct iio_dev *indio_dev)
struct ad5933_state *st = iio_priv(indio_dev);
int ret;
- if (bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength))
+ if (bitmap_empty(indio_dev->active_scan_mask,
+ iio_get_masklength(indio_dev)))
return -EINVAL;
ret = ad5933_reset(st);
@@ -625,7 +626,7 @@ static void ad5933_work(struct work_struct *work)
if (status & AD5933_STAT_DATA_VALID) {
int scan_count = bitmap_weight(indio_dev->active_scan_mask,
- indio_dev->masklength);
+ iio_get_masklength(indio_dev));
ret = ad5933_i2c_read(st->client,
test_bit(1, indio_dev->active_scan_mask) ?
AD5933_REG_REAL_DATA : AD5933_REG_IMAG_DATA,
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* [PATCH 23/23] iio: core: annotate masklength as __private
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (21 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 22/23] staging: iio: impedance-analyzer: ad5933: make use of iio_get_masklength() Nuno Sa via B4 Relay
@ 2024-07-26 8:23 ` Nuno Sa via B4 Relay
2024-08-14 18:46 ` [PATCH 00/23] iio: make masklength __private (final round) Jonathan Cameron
23 siblings, 0 replies; 28+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-07-26 8:23 UTC (permalink / raw)
To: linux-iio, linux-staging
Cc: Lars-Peter Clausen, Michael Hennerich, Ramona Gradinariu,
Antoniu Miclaus, Jonathan Cameron, Marcus Folkesson,
Kent Gustavsson, Matthias Brugger, AngeloGioacchino Del Regno,
Heiko Stuebner, Maxime Coquelin, Alexandre Torgue,
Francesco Dolcini, João Paulo Gonçalves, Haibo Chen,
Michal Simek, Benson Leung, Guenter Roeck, Greg Kroah-Hartman
From: Nuno Sa <nuno.sa@analog.com>
Now that all users are using the proper accessors, we can mark
masklength as __private so that no one tries to write. We also get help
from checkers in warning us in case someone does it.
To access the private field from IIO core code, we need to use the
ACCESS_PRIVATE() macro.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
---
drivers/iio/industrialio-buffer.c | 2 +-
include/linux/iio/iio.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c
index 3d0b1d25fdd7..8104696cd475 100644
--- a/drivers/iio/industrialio-buffer.c
+++ b/drivers/iio/industrialio-buffer.c
@@ -2269,7 +2269,7 @@ int iio_buffers_alloc_sysfs_and_mask(struct iio_dev *indio_dev)
for (i = 0; i < indio_dev->num_channels; i++)
ml = max(ml, channels[i].scan_index + 1);
- indio_dev->masklength = ml;
+ ACCESS_PRIVATE(indio_dev, masklength) = ml;
}
if (!iio_dev_opaque->attached_buffers_cnt)
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
index dd6bbc468283..f6c0499853bb 100644
--- a/include/linux/iio/iio.h
+++ b/include/linux/iio/iio.h
@@ -609,7 +609,7 @@ struct iio_dev {
int scan_bytes;
const unsigned long *available_scan_masks;
- unsigned masklength;
+ unsigned __private masklength;
const unsigned long *active_scan_mask;
bool scan_timestamp;
struct iio_trigger *trig;
@@ -861,7 +861,7 @@ static inline const struct iio_scan_type
*/
static inline unsigned int iio_get_masklength(const struct iio_dev *indio_dev)
{
- return indio_dev->masklength;
+ return ACCESS_PRIVATE(indio_dev, masklength);
}
/**
--
2.45.2
^ permalink raw reply related [flat|nested] 28+ messages in thread* Re: [PATCH 00/23] iio: make masklength __private (final round)
2024-07-26 8:22 [PATCH 00/23] iio: make masklength __private (final round) Nuno Sa via B4 Relay
` (22 preceding siblings ...)
2024-07-26 8:23 ` [PATCH 23/23] iio: core: annotate masklength as __private Nuno Sa via B4 Relay
@ 2024-08-14 18:46 ` Jonathan Cameron
23 siblings, 0 replies; 28+ messages in thread
From: Jonathan Cameron @ 2024-08-14 18:46 UTC (permalink / raw)
To: Nuno Sa via B4 Relay
Cc: nuno.sa, linux-iio, linux-staging, Lars-Peter Clausen,
Michael Hennerich, Ramona Gradinariu, Antoniu Miclaus,
Marcus Folkesson, Kent Gustavsson, Matthias Brugger,
AngeloGioacchino Del Regno, Heiko Stuebner, Maxime Coquelin,
Alexandre Torgue, Francesco Dolcini,
João Paulo Gonçalves, Haibo Chen, Michal Simek,
Benson Leung, Guenter Roeck, Greg Kroah-Hartman
On Fri, 26 Jul 2024 10:22:52 +0200
Nuno Sa via B4 Relay <devnull+nuno.sa.analog.com@kernel.org> wrote:
> Hi Jonathan,
>
> Here it goes the final conversion round. On the testing branch a git
> grep:
>
> git grep "\->masklength"
>
> Gives no more users so hopefully I did it right :).
>
> Not entirely related with this but I'll mention it anyways :). Looking
> at the other [INTERN] fields, I see:
>
> * active_scan_mask: which seems to be pretty similar to masklength;
> * scan_timestamp: Has some apparently valid users;
> * scan_bytes: Also has a few users;
> * trig: may need a bit more inspection.
>
> The first 3 look like valid RO fields that drivers are allowed to
> access. I mean, for scan_bytes I guess drivers could calculate that
> based on the active_scan_mask but I think that's just not worth it given
> the core already did it for us.
>
> So I wonder if a similar work would be valuable? scan_timestamp and
> scan_bytes would be pretty trivial but for active_scan_mask we do have
> lots of users (but also trivial I think).
>
> For Trig, most of the writes are drivers doing
>
> indio_dev->trig = iio_trigger_get(data->trig);
>
> So we either assume it's public or remove that line from drivers. Though
> that could break userland apps relying on some trigger to be
> automatically set after device probe. We can anyways have another helper
> to do that for drivers (not sure this field is accessed in some
> fastpath).
>
> Also need to better check if there are any readers for it.
>
> Anyways, it would be nice to get your inputs on the last [INTERNAL] fields
> in struct iio_dev
>
> Also want to mention that I deliberately removed some mailing lists
> given by get_maintainers as this is fairly simple and so I don't think
> the "spam" is worth it :).
I applied these about 10 days ago but for some reason didn't say that!
So these are applied if anyone was wondering.
Jonathan
>
> ---
> Nuno Sa (23):
> iio: accel: adxl380: make use of iio_get_masklength()
> iio: adc: max1118: make use of iio_for_each_active_channel()
> iio: adc: max1118: make use of iio_for_each_active_channel()
> iio: adc: mcp3911: make use of iio_for_each_active_channel()
> iio: adc: mt6360-adc: make use of iio_for_each_active_channel()
> iio: adc: rockchip_saradc: make use of iio_for_each_active_channel()
> iio: adc: rtq6056: make use of iio_for_each_active_channel()
> iio: adc: stm32-adc: make use of iio_get_masklength()
> iio: adc: stm32-dfsdm-adc: make use of iio_get_masklength()
> iio: adc: ti-adc0832: make use of iio_for_each_active_channel()
> iio: adc: ti-adc084s021: make use of iio_for_each_active_channel()
> iio: adc: ti-ads1015: make use of iio_get_masklength()
> iio: adc: ti-ads1119: make use of iio_get_masklength()
> iio: adc: ti-ads1298: make use of iio_for_each_active_channel()
> iio: adc: ti-adc12138: make use of iio_for_each_active_channel()
> iio: adc: ti-ads124s08: make use of iio_for_each_active_channel()
> iio: adc: ti-ads131e08: make use of iio_for_each_active_channel()
> iio: adc: ti-ads8688: make use of iio_for_each_active_channel()
> iio: adc: vf610_adc: make use of iio_get_masklength()
> iio: adc: xilinx-xadc-core: use new '.masklength' accessors
> iio: common: cros_ec_sensors_core: use new '.masklength' accessors
> staging: iio: impedance-analyzer: ad5933: make use of iio_get_masklength()
> iio: core: annotate masklength as __private
>
> drivers/iio/accel/adxl380.c | 2 +-
> drivers/iio/adc/ina2xx-adc.c | 3 +--
> drivers/iio/adc/max1118.c | 3 +--
> drivers/iio/adc/mcp3911.c | 2 +-
> drivers/iio/adc/mt6360-adc.c | 2 +-
> drivers/iio/adc/rockchip_saradc.c | 2 +-
> drivers/iio/adc/rtq6056.c | 2 +-
> drivers/iio/adc/stm32-adc.c | 4 ++--
> drivers/iio/adc/stm32-dfsdm-adc.c | 2 +-
> drivers/iio/adc/ti-adc0832.c | 3 +--
> drivers/iio/adc/ti-adc084s021.c | 3 +--
> drivers/iio/adc/ti-adc12138.c | 3 +--
> drivers/iio/adc/ti-ads1015.c | 2 +-
> drivers/iio/adc/ti-ads1119.c | 4 ++--
> drivers/iio/adc/ti-ads124s08.c | 3 +--
> drivers/iio/adc/ti-ads1298.c | 3 +--
> drivers/iio/adc/ti-ads131e08.c | 2 +-
> drivers/iio/adc/ti-ads8688.c | 4 +---
> drivers/iio/adc/vf610_adc.c | 2 +-
> drivers/iio/adc/xilinx-xadc-core.c | 5 ++---
> drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c | 8 +++-----
> drivers/iio/industrialio-buffer.c | 2 +-
> drivers/staging/iio/impedance-analyzer/ad5933.c | 5 +++--
> include/linux/iio/iio.h | 4 ++--
> 24 files changed, 32 insertions(+), 43 deletions(-)
> ---
> base-commit: 472438c7e0e2261c6737a8321f46ef176eef1c8f
> change-id: 20240724-dev-iio-masklength-private3-7a2d819acc7d
> --
>
> Thanks!
> - Nuno Sá
>
>
^ permalink raw reply [flat|nested] 28+ messages in thread