diff options
author | Ahmed S. Darwish <ahmed.darwish@valeo.com> | 2015-01-26 07:24:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-05 22:35:49 -0800 |
commit | 163113183b105d61446bb6395e14ae156db3ecd5 (patch) | |
tree | 3620bbe0e620dc27ccf59ec907cecea183a17c53 /arch/powerpc | |
parent | 4a2c136417e2e16fedc8e426cc0a739396bad132 (diff) | |
download | lwn-163113183b105d61446bb6395e14ae156db3ecd5.tar.gz lwn-163113183b105d61446bb6395e14ae156db3ecd5.zip |
can: kvaser_usb: Retry the first bulk transfer on -ETIMEDOUT
commit 14c10c2a1dd8eb8e00b750b521753260befa2789 upstream.
On some x86 laptops, plugging a Kvaser device again after an
unplug makes the firmware always ignore the very first command.
For such a case, provide some room for retries instead of
completely exiting the driver init code.
Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions