]> git.sur5r.net Git - groeck-it87/commit
Separate internal scaling from 12mV ADC
authorGuenter Roeck <linux@roeck-us.net>
Tue, 21 Mar 2017 00:43:03 +0000 (17:43 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 21 Mar 2017 00:45:12 +0000 (17:45 -0700)
commit75aed2c2ba111ccac9408fa41a349d612322ad15
treea2a5a37c917da79b56d90497a3332fc5a06aa72c
parent4f62f4d0fd86904853fd9e285b7dd7ebdbfcf244
Separate internal scaling from 12mV ADC

Some chips have internal voltage scaling but 10.9mV ADC,
so we can no longer associate the 12mV ADC with internal scaling
but need a different flag to distinguish scaling support.

Also fix ADC resolution for IT8790E and IT8792E.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c