RE: [PATCH v2 6/7] iio: adc: ad485x: add ad485x driver

From: Miclaus, Antoniu
Date: Tue Oct 08 2024 - 07:39:32 EST


> ...
>
> > +static int ad485x_calibrate(struct ad485x_state *st)
> > +{
> > + unsigned int opt_delay, lane_num, delay, i, s, c;
> > + enum iio_backend_interface_type interface_type;
>
> > + bool pn_status[AD485X_MAX_LANES][AD485X_MAX_IODELAY];
>
> Why bool and not bitmap? I think I already asked this, but I don't
> remember what you answered.

Both ` iio_backend_chan_status` and `ad4851_find_opt` require bool as
input parameter.

>
> > + int ret;
>
> ...