RE: [PATCH 15/19] staging: comedi: dt2811: simplify analog input range options

2016-05-04 Thread Hartley Sweeten
On Wednesday, May 04, 2016 9:01 AM, Ian Abbott wrote: > On 04/05/16 01:25, H Hartley Sweeten wrote: >> The A/D ranges are not programmable but the gain is. Currently this driver >> uses a configuration option to select the comedi_lrange that will be used >> for the analog input subdevice. This requ

Re: [PATCH 15/19] staging: comedi: dt2811: simplify analog input range options

2016-05-04 Thread Ian Abbott
On 04/05/16 01:25, H Hartley Sweeten wrote: The A/D ranges are not programmable but the gain is. Currently this driver uses a configuration option to select the comedi_lrange that will be used for the analog input subdevice. This requires that the user makes sure the correct option value is used.

[PATCH 15/19] staging: comedi: dt2811: simplify analog input range options

2016-05-03 Thread H Hartley Sweeten
The A/D ranges are not programmable but the gain is. Currently this driver uses a configuration option to select the comedi_lrange that will be used for the analog input subdevice. This requires that the user makes sure the correct option value is used. The user space library uses the range inform