Re: [PATCH] V2 Driver for Texas Instruments ads7871 switched to 1 16-bit read instead of 2 8-bit reads lots of error checking result is in volts*10000

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

 



OK, here's the new patch. It has most of the comments incorporated.
The section I'm most unsure of is the error handling in ads7871_probe.
In ads7871_probe, I do check that one register is written correctly
this ensures that there is really a chip there, but I just set err to
-1, is that OK? What should the error be for a chip that's not
actually on the bus?

thanks,
Paul

_______________________________________________
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