linux/drivers/net/can
Andreas Werner 88772980d6 can: flexcan: Deferred on Regulator return EPROBE_DEFER
commit 555828ef45 upstream.

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>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2015-04-13 16:48:56 +01:00
..
c_can can: c_can: end pending transmission on network stop (ifdown) 2015-02-04 10:58:06 +00:00
cc770 can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
mscan can: mscan: Fix Kconfig dependencies 2014-05-19 09:38:21 +02:00
sja1000 can: peak_pci: prevent use after free at netdev removal 2014-05-21 08:17:03 +02:00
softing can: softing: remove unused sysfs attributes 2014-04-25 00:09:03 +02:00
spi can: mcp251x: fix coccinelle warnings 2014-05-19 09:38:07 +02:00
usb can: kvaser_usb: Fix tx queue start/stop race conditions 2015-03-30 11:11:34 +01:00
at91_can.c can: at91_can: add missing prepare and unprepare of the clock 2014-11-05 14:14:45 +00:00
bfin_can.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
dev.c can: add missing initialisations in CAN related skbuffs 2015-03-23 15:16:47 +00:00
flexcan.c can: flexcan: Deferred on Regulator return EPROBE_DEFER 2015-04-13 16:48:56 +01:00
grcan.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
janz-ican3.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
Kconfig can: xilinx CAN controller support 2014-05-26 09:36:31 +02:00
led.c can: only rename enabled led triggers when changing the netdev name 2014-05-27 15:05:41 +02:00
Makefile can: xilinx CAN controller support 2014-05-26 09:36:31 +02:00
pch_can.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
rcar_can.c can: add Renesas R-Car CAN driver 2014-05-19 09:38:23 +02:00
slcan.c slcan: Port write_wakeup deadlock fix from slip 2014-06-16 21:29:13 -07:00
ti_hecc.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
vcan.c can: add destructor for self generated skbs 2014-01-30 16:25:49 -08:00
xilinx_can.c can: xilinx CAN controller support 2014-05-26 09:36:31 +02:00