commit | 44b413661b57cbbb7e4c3adf7b087fada42a443e | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Fri Jun 23 20:39:56 2017 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sat Jun 24 08:58:06 2017 -0700 |
tree | 24b07c51801aa75770ab8c92266472215d899e51 | |
parent | ece0c03a9e5f727435d19754411e59c3ae28cbb8 [diff] |
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>