On Wed, 6 Oct 2010 13:47:59 -0700, Guenter Roeck wrote: > On Wed, 2010-10-06 at 15:54 -0400, Paul Thomas wrote: > > > No, both of those are runtime options internal to the ads7871, and > > > because we initiate a read by setting that register anyway there isn't > > > any additional setup cost (at least there isn't any spi cost, there is > > > a little additional code in show_voltage). > > > > > > Additionally gain & diff are initialized to a gain of 1 and single > > > ended reads which will match how the driver works now. > > > > > > I'm open to other suggestions also. > > > > > > thanks, > > > Paul > > > > > > > I had one other question. The chip gives you a valid conversion result > > bit. Currently we're not checking it, if It's not a valid conversion, > > then what should be returned? > > Possibly EIO ? Or EAGAIN if one can hope that the next conversion will be OK. -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors