can: kvaser_usb: Retry the first bulk transfer on -ETIMEDOUT
authorAhmed S. Darwish <ahmed.darwish@valeo.com>
Mon, 26 Jan 2015 05:24:06 +0000 (07:24 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 27 Jan 2015 07:55:09 +0000 (08:55 +0100)
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>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

No differences found