summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2017-06-24 06:39:56 +0300
committerGuenter Roeck <linux@roeck-us.net>2017-06-24 18:58:06 +0300
commit44b413661b57cbbb7e4c3adf7b087fada42a443e (patch)
tree24b07c51801aa75770ab8c92266472215d899e51 /include/linux/device.h
parentece0c03a9e5f727435d19754411e59c3ae28cbb8 (diff)
downloadlinux-44b413661b57cbbb7e4c3adf7b087fada42a443e.tar.xz
hwmon: (aspeed-pwm-tacho) Poll with short sleeps.
The reference driver polled but mentioned it was possible to sleep for a computed period to know when it's ready to read. However, polling with minimal sleeps is quick and works. This also improves responsiveness from the driver. Testing: tested on ast2400 on quanta-q71l Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions