Re: local macro

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

 



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




_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux