* [PATCH] iio: backend: spelling: continuous -> continuous
@ 2024-07-26 20:18 David Lechner
2024-07-27 10:30 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: David Lechner @ 2024-07-26 20:18 UTC (permalink / raw)
To: Jonathan Cameron
Cc: David Lechner, Nuno Sa, Dragos Bogdan, Michael Hennerich,
Olivier Moysan, linux-iio, linux-kernel
This fixes the spelling in IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE.
Signed-off-by: David Lechner <dlechner@baylibre.com>
---
drivers/iio/dac/ad9739a.c | 2 +-
drivers/iio/dac/adi-axi-dac.c | 2 +-
include/linux/iio/backend.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ad9739a.c b/drivers/iio/dac/ad9739a.c
index 9b1570e788b6..799387f21b9f 100644
--- a/drivers/iio/dac/ad9739a.c
+++ b/drivers/iio/dac/ad9739a.c
@@ -145,7 +145,7 @@ static int ad9739a_buffer_postdisable(struct iio_dev *indio_dev)
struct ad9739a_state *st = iio_priv(indio_dev);
return iio_backend_data_source_set(st->back, 0,
- IIO_BACKEND_INTERNAL_CONTINUOS_WAVE);
+ IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE);
}
static bool ad9739a_reg_accessible(struct device *dev, unsigned int reg)
diff --git a/drivers/iio/dac/adi-axi-dac.c b/drivers/iio/dac/adi-axi-dac.c
index 6d56428e623d..e44463f48bf5 100644
--- a/drivers/iio/dac/adi-axi-dac.c
+++ b/drivers/iio/dac/adi-axi-dac.c
@@ -452,7 +452,7 @@ static int axi_dac_data_source_set(struct iio_backend *back, unsigned int chan,
struct axi_dac_state *st = iio_backend_get_priv(back);
switch (data) {
- case IIO_BACKEND_INTERNAL_CONTINUOS_WAVE:
+ case IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE:
return regmap_update_bits(st->regmap,
AXI_DAC_REG_CHAN_CNTRL_7(chan),
AXI_DAC_DATA_SEL,
diff --git a/include/linux/iio/backend.h b/include/linux/iio/backend.h
index 4e81931703ab..29c4cf0bd761 100644
--- a/include/linux/iio/backend.h
+++ b/include/linux/iio/backend.h
@@ -17,7 +17,7 @@ enum iio_backend_data_type {
};
enum iio_backend_data_source {
- IIO_BACKEND_INTERNAL_CONTINUOS_WAVE,
+ IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE,
IIO_BACKEND_EXTERNAL,
IIO_BACKEND_DATA_SOURCE_MAX
};
---
base-commit: 472438c7e0e2261c6737a8321f46ef176eef1c8f
change-id: 20240726-iio-backend-spelling-continuous-d6801c838fd8
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] iio: backend: spelling: continuous -> continuous
2024-07-26 20:18 [PATCH] iio: backend: spelling: continuous -> continuous David Lechner
@ 2024-07-27 10:30 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2024-07-27 10:30 UTC (permalink / raw)
To: David Lechner
Cc: Nuno Sa, Dragos Bogdan, Michael Hennerich, Olivier Moysan,
linux-iio, linux-kernel
On Fri, 26 Jul 2024 15:18:40 -0500
David Lechner <dlechner@baylibre.com> wrote:
> This fixes the spelling in IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE.
>
> Signed-off-by: David Lechner <dlechner@baylibre.com>
Applied
> ---
> drivers/iio/dac/ad9739a.c | 2 +-
> drivers/iio/dac/adi-axi-dac.c | 2 +-
> include/linux/iio/backend.h | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/dac/ad9739a.c b/drivers/iio/dac/ad9739a.c
> index 9b1570e788b6..799387f21b9f 100644
> --- a/drivers/iio/dac/ad9739a.c
> +++ b/drivers/iio/dac/ad9739a.c
> @@ -145,7 +145,7 @@ static int ad9739a_buffer_postdisable(struct iio_dev *indio_dev)
> struct ad9739a_state *st = iio_priv(indio_dev);
>
> return iio_backend_data_source_set(st->back, 0,
> - IIO_BACKEND_INTERNAL_CONTINUOS_WAVE);
> + IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE);
> }
>
> static bool ad9739a_reg_accessible(struct device *dev, unsigned int reg)
> diff --git a/drivers/iio/dac/adi-axi-dac.c b/drivers/iio/dac/adi-axi-dac.c
> index 6d56428e623d..e44463f48bf5 100644
> --- a/drivers/iio/dac/adi-axi-dac.c
> +++ b/drivers/iio/dac/adi-axi-dac.c
> @@ -452,7 +452,7 @@ static int axi_dac_data_source_set(struct iio_backend *back, unsigned int chan,
> struct axi_dac_state *st = iio_backend_get_priv(back);
>
> switch (data) {
> - case IIO_BACKEND_INTERNAL_CONTINUOS_WAVE:
> + case IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE:
> return regmap_update_bits(st->regmap,
> AXI_DAC_REG_CHAN_CNTRL_7(chan),
> AXI_DAC_DATA_SEL,
> diff --git a/include/linux/iio/backend.h b/include/linux/iio/backend.h
> index 4e81931703ab..29c4cf0bd761 100644
> --- a/include/linux/iio/backend.h
> +++ b/include/linux/iio/backend.h
> @@ -17,7 +17,7 @@ enum iio_backend_data_type {
> };
>
> enum iio_backend_data_source {
> - IIO_BACKEND_INTERNAL_CONTINUOS_WAVE,
> + IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE,
> IIO_BACKEND_EXTERNAL,
> IIO_BACKEND_DATA_SOURCE_MAX
> };
>
> ---
> base-commit: 472438c7e0e2261c6737a8321f46ef176eef1c8f
> change-id: 20240726-iio-backend-spelling-continuous-d6801c838fd8
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-27 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-26 20:18 [PATCH] iio: backend: spelling: continuous -> continuous David Lechner
2024-07-27 10:30 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox