Re: [PATCH v5 3/4] iio: dac: adi-axi-dac: define supported iio-backend capabilities

Nuno Sá
2026-02-02T10:33:08Z

On Fri, 2026-01-30 at 09:17 +0000, Tomas Melin wrote:
> Backends support buffering capability so advertise it while registering
> in case a frontend makes checks for it.
>
> Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
> ---

Reviewed-by: Nuno Sá <nuno.sa@analog.com>

>  drivers/iio/dac/adi-axi-dac.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/dac/adi-axi-dac.c b/drivers/iio/dac/adi-axi-dac.c
> index 0d525272a8a8..cd06cd4587af 100644
> --- a/drivers/iio/dac/adi-axi-dac.c
> +++ b/drivers/iio/dac/adi-axi-dac.c
> @@ -869,11 +869,13 @@ static const struct iio_backend_ops axi_ad3552r_ops = {
>  static const struct iio_backend_info axi_dac_generic = {
>   .name = "axi-dac",
>   .ops = &axi_dac_generic_ops,
> + .caps = IIO_BACKEND_CAP_BUFFERING,
>  };
>
>  static const struct iio_backend_info axi_ad3552r = {
>   .name = "axi-ad3552r",
>   .ops = &axi_ad3552r_ops,
> + .caps = IIO_BACKEND_CAP_BUFFERING,
>  };
>
>  static const struct regmap_config axi_dac_regmap_config = {