diff options
author | Andreas Werner <kernel@andy89.org> | 2015-03-22 17:35:52 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-03-22 19:20:10 +0100 |
commit | 555828ef45f825d6ee06559f0304163550eed380 (patch) | |
tree | 484cc1b0e4cd6a4c4ceea5f08e365c93dd232e94 /drivers/net/virtio_net.c | |
parent | 258ce80e19211f06c97a562a71308ec21a9ab98f (diff) | |
download | talos-op-linux-555828ef45f825d6ee06559f0304163550eed380.tar.gz talos-op-linux-555828ef45f825d6ee06559f0304163550eed380.zip |
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>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions