diff options
author | Chris Bagwell | 2013-01-24 04:37:34 +0100 |
---|---|---|
committer | Dmitry Torokhov | 2013-01-24 04:38:52 +0100 |
commit | 9937c026820baabd1e908a9c1e6bdc846293000a (patch) | |
tree | 461b2c70b16edf74c7d5444951133c534a007c93 /drivers/input/mouse | |
parent | Input: document that unregistering managed devices is not necessary (diff) | |
download | kernel-qcow2-linux-9937c026820baabd1e908a9c1e6bdc846293000a.tar.gz kernel-qcow2-linux-9937c026820baabd1e908a9c1e6bdc846293000a.tar.xz kernel-qcow2-linux-9937c026820baabd1e908a9c1e6bdc846293000a.zip |
Input: wacom - fix wacom_set_report retry logic
Logic sets a value and then reads it back to make sure it worked
and retries write on failures. Since read and write share a buffer,
it needs to be set back up before writing though.
Issue is not seen a lot because 1) it doesn't need to retry for
a lot of tablets and 2) a lot of failures that need a retry are
from an -ETIMEDOUT and hopefully buffer is not touched in this case.
At least one user has shown logs with buffer being modified during
-ETIMEDOUT case with linux 3.7 kernel.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse')
0 files changed, 0 insertions, 0 deletions