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

From: Nuno Sá

Date: Mon Feb 02 2026 - 05:38:51 EST


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@xxxxxxxxxxx>
> ---

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

>  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 = {