diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-06-19 20:34:57 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-07-12 14:23:57 -0700 |
commit | 3d8f7a89a1979be7f631cf06e02f882adf144885 (patch) | |
tree | 4a041c0a793a9e20a80d9b6d5b70a7d008a2da01 /scripts/gdb/linux/radixtree.py | |
parent | 589f707c72426793a0f537592098a5a2a3117dc0 (diff) |
hwmon: (tmp102) Improve handling of initial read delay
If the chip was in shutdown mode when the driver was loaded, the first
conversion is ready no more than 35 milli-seconds after the chip was
taken out of shutdown. The driver delay was so far set to 333 ms (HZ / 3),
which is much higher than the maximum time needed by the chip.
Reduce the time to 35 milli-seconds.
Introduce a 'valid' flag to ensure that sensor data is actually read
even if requested less than 333 ms after the driver was loaded.
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions