Files
linux/drivers
Andreas Werner 92fe878fda 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-04-19 10:11:08 +02:00
..
2015-04-19 10:11:06 +02:00
2014-04-14 06:50:04 -07:00
2015-03-06 14:43:26 -08:00
2014-07-31 12:52:56 -07:00
2015-01-29 17:40:48 -08:00
2014-08-07 14:52:37 -07:00
2014-01-15 14:51:22 -08:00
2015-03-26 15:06:53 +01:00