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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> ...
> 
> > +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;
> 
> ...





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux