can: mcp251x: mcp251x_hw_reset(): allow more time after a reset
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 14:01:02 +0000 (16:01 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 20 Aug 2019 11:41:26 +0000 (13:41 +0200)
commitd84ea2123f8d27144e3f4d58cd88c9c6ddc799de
tree950cebee17124a039db8e63429e7c83c1b18dbee
parentaf669cd26e0ac4ba7bd6743cdd5ef10e9332129e
can: mcp251x: mcp251x_hw_reset(): allow more time after a reset

Some boards take longer than 5ms to power up after a reset, so allow
some retries attempts before giving up.

Fixes: ff06d611a31c ("can: mcp251x: Improve mcp251x_hw_reset()")
Cc: linux-stable <stable@vger.kernel.org>
Tested-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251x.c