summaryrefslogtreecommitdiff
path: root/lib/digsig.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-06-20 03:34:57 (GMT)
committerGuenter Roeck <linux@roeck-us.net>2016-07-12 21:23:57 (GMT)
commit3d8f7a89a1979be7f631cf06e02f882adf144885 (patch)
tree4a041c0a793a9e20a80d9b6d5b70a7d008a2da01 /lib/digsig.c
parent589f707c72426793a0f537592098a5a2a3117dc0 (diff)
downloadlinux-3d8f7a89a1979be7f631cf06e02f882adf144885.tar.xz
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 'lib/digsig.c')
0 files changed, 0 insertions, 0 deletions