]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: nvec: Add battery quirk to ignore incomplete responses
authorJulian Andres Klode <jak@jak-linux.org>
Tue, 27 Sep 2011 17:01:04 +0000 (19:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Sep 2011 00:41:38 +0000 (17:41 -0700)
commitd6bdcf2e1019351cbc176e963b7756766bdd8721
tree6c9c8aec43ea2d9d30d0ccb782f29de0a32269dd
parent1e46e6273bc62d87c1eb984d2a2b16efa6b19641
staging: nvec: Add battery quirk to ignore incomplete responses

The nvec_power system polls nvec for battery information. In some
cases, that part seems to be overloaded and unable to respond
fast in which case it sends an incomplete response. We need to
mark the transfer as completed, though, in order to prevent
endless retries which can kill nvec.

Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/nvec/nvec.c