Messages in this thread | | | From | Andy Shevchenko <> | Date | Wed, 31 Aug 2022 15:43:33 +0300 | Subject | Re: [PATCH v2 3/5] iio: adc: mcp320x: use conv_time instead of device_index switch |
| |
On Wed, Aug 31, 2022 at 1:05 PM Vincent Whitchurch <vincent.whitchurch@axis.com> wrote: > > In mcp320x_adc_conversion(), the presence of the chip_info's conv_time > is used as a condition for using the conversion message. Use that same > condition when initializing the conversion message and the other > handling for variants which need it, instead of the different condition > (checking of the device_index) which is used currently.
...
> + if (chip_info->conv_time) {
It would be nice to have conv_time_us renamed before this change.
-- With Best Regards, Andy Shevchenko
| |