linux/drivers/net
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>
History 2015-04-19 10:11:08 +02:00
..
appletalk PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
arcnet drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
bonding bonding: fix curr_active_slave/carrier with loadbalance arp monitoring 2014-12-06 15:55:34 -08:00
caif drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
can can: flexcan: Deferred on Regulator return EPROBE_DEFER 2015-04-19 10:11:08 +02:00
cris ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
dsa DSA: Convert spaces to tabs where appropriate 2013-01-10 00:04:34 -08:00
ethernet net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5} 2015-04-13 14:03:04 +02:00
fddi drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
hamradio Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-01-06 17:37:45 -05:00
hippi drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
hyperv hyperv: Fix a bug in netvsc_start_xmit() 2014-10-15 08:36:42 +02:00
ieee802154 ieee802154: fix error handling in ieee802154fake_probe() 2014-12-06 15:55:34 -08:00
irda irtty-sir.c: Do not set_termios() on irtty_close() 2014-02-17 16:27:51 -05:00
phy net: phy: Fix verification of EEE support in phy_init_eee 2015-03-18 13:31:21 +01:00
plip net: plip: slight optimization of addr compare 2013-12-31 16:48:33 -05:00
ppp ppp: deflate: never return len larger than output buffer 2015-02-26 17:50:12 -08:00
slip slip: Fix deadlock in write_wakeup 2014-07-28 08:05:58 -07:00
team team: don't traverse port list using rcu in team_set_mac_address 2015-03-18 13:31:23 +01:00
usb Revert "net: cx82310_eth: use common match macro" 2015-03-26 15:06:50 +01:00
vmxnet3 vmxnet3: fix building without CONFIG_PCI_MSI 2014-03-13 12:56:38 -04:00
wan wan: dlci: Remove unused netdev_priv pointer 2014-02-09 18:40:56 -08:00
wimax wimax: Remove extern from function prototypes 2013-09-24 16:46:22 -07:00
wireless iwlwifi: dvm: run INIT firmware again upon .start() 2015-04-19 10:11:06 +02:00
xen-netback xen-netback: disable rogue vif in kthread context 2014-04-14 06:50:03 -07:00
dummy.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
eql.c eql: use __dev_get_by_name instead of dev_get_by_name to find interface 2014-01-14 18:50:46 -08:00
ifb.c ifb: Remove vlan acceleration from vlan_features 2014-03-28 17:16:50 -04:00
Kconfig drivers/net: macvtap and tun depend on INET 2014-11-14 08:59:44 -08:00
LICENSE.SRC Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
loopback.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
macvlan.c net: allow macvlans to move to net namespace 2014-10-15 08:36:41 +02:00
macvtap.c macvtap: make sure neighbour code can push ethernet header 2015-03-18 13:31:22 +01:00
Makefile packet: nlmon: virtual netlink monitoring device for packet sockets 2013-06-24 16:39:05 -07:00
mdio.c mdio: unused ethtool functions 2013-12-26 13:29:35 -05:00
mii.c ethtool, mdio, mii: Specify MDIO information fields in struct ethtool_cmd 2012-03-01 16:41:26 -05:00
netconsole.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-04 13:48:30 -05:00
nlmon.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
ntb_netdev.c ntb_netdev: remove from list on exit 2013-05-15 10:58:14 -07:00
rionet.c rapidio/rionet: rework driver initialization and removal 2013-07-03 16:08:04 -07:00
sb1000.c drivers/net/sb1000.c: delete double assignment 2010-10-27 12:23:20 -07:00
Space.c drivers: net: Include new header file in sbni.c 2013-12-19 18:51:20 -05:00
sungem_phy.c Fix misspellings of "whether" in comments. 2012-11-19 14:31:35 +01:00
tun.c tun: Fix csum_start with VLAN acceleration 2014-11-21 09:23:01 -08:00
veth.c veth: Turn off vlan rx acceleration in vlan_features 2014-03-28 17:16:51 -04:00
virtio_net.c Revert "drivers/net: Disable UFO through virtio" 2014-11-21 09:22:59 -08:00
vxlan.c Fix race condition between vxlan_sock_add and vxlan_sock_release 2014-12-16 09:34:27 -08:00
xen-netfront.c xen-netfront: Remove BUGs on paged skb data which crosses a page boundary 2014-12-16 09:34:26 -08:00