[lm-sensors] local macro
Guenter Roeck
guenter.roeck at ericsson.com
Wed Oct 6 22:47:59 CEST 2010
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 ?
Guenter
More information about the lm-sensors
mailing list