commit | de90ed4d1f8285e4fe663a3ca52d3e377b590ef1 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Sep 18 16:57:50 2012 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Sep 18 16:57:50 2012 -0700 |
tree | aae6882578251fcd0bf9258c60aaa9e358acd202 | |
parent | bb2043a45bb7852f73b373d285867c54c6bde3ec [diff] |
hwmon: epm_adc: Fix incorrect SPI writes Incorrect spi write transactions and incorrect readings are seen. This is because of using incorrect SPI slave address while initiating the SPI writes to the ADS ADC. Also fix the incorrect scaling when converting the raw ADC code to the appropriate physical result. Change-Id: I0e16f210fa07e1ce1128f39b0f4e1d325ea7e7ef Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>