linux-stable/drivers/net/can
Andreas Werner 555828ef45 can: flexcan: Deferred on Regulator return EPROBE_DEFER
Return EPROBE_DEFER if Regulator returns EPROBE_DEFER

If the Flexcan driver is built into kernel and a regulator is used to
enable the CAN transceiver, the Flexcan driver may not use the regulator.

When initializing the Flexcan device with a regulator defined in the device
tree, but not initialized, the regulator subsystem returns EPROBE_DEFER, hence
the Flexcan init fails.

The solution for this is to return EPROBE_DEFER if regulator is not initialized
and wait until the regulator is initialized.

Signed-off-by: Andreas Werner <kernel@andy89.org>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-03-22 19:20:10 +01:00
..
c_can
cc770
m_can
mscan
sja1000
softing
spi
usb can: peak_usb_fd: add support for ISO / non-ISO mode switching 2015-03-22 18:14:51 +01:00
at91_can.c
bfin_can.c
dev.c can: add missing initialisations in CAN related skbuffs 2015-03-09 10:22:24 +01:00
flexcan.c can: flexcan: Deferred on Regulator return EPROBE_DEFER 2015-03-22 19:20:10 +01:00
grcan.c
janz-ican3.c can: janz-ican3: fix type mismatch in assignment 2015-02-04 14:06:43 +01:00
Kconfig net: can: Enable xilinx driver for ARM64 2015-03-14 09:01:16 +01:00
led.c
Makefile
pch_can.c
rcar_can.c
slcan.c
ti_hecc.c
vcan.c
xilinx_can.c