mirror-linux/drivers/net
Sebastian Reichel ea449f7fa0 net: ethernet: stmmac: dwmac-rk: rework optional clock handling
The clock requesting code is quite repetitive. Fix this by requesting
the clocks via devm_clk_bulk_get_optional. The optional variant has been
used, since this is effectively what the old code did. The exact clocks
required depend on the platform and configuration. As a side effect
this change adds correct -EPROBE_DEFER handling.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Fixes: 7ad269ea1a ("GMAC: add driver for Rockchip RK3288 SoCs integrated GMAC")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-12 09:21:27 +01:00
..
appletalk
arcnet
bonding
caif
can kvaser_usb: convert USB IDs to hexadecimal values 2023-04-04 16:48:45 +02:00
dsa net: dsa: mv88e6xxx: Correct cmode to PHY_INTERFACE_ 2023-04-11 21:17:51 -07:00
ethernet net: ethernet: stmmac: dwmac-rk: rework optional clock handling 2023-04-12 09:21:27 +01:00
fddi net: fddi: skfp: rmt: Clean up some inconsistent indenting 2023-04-11 12:46:26 +02:00
fjes
hamradio
hippi
hyperv
ieee802154 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
ipa Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
ipvlan
mctp
mdio Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-24 10:10:20 -07:00
netdevsim
pcs net: pcs: xpcs: use Autoneg bit rather than an_enabled 2023-03-22 22:43:05 -07:00
phy net: phy: sfp: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb net: asix: fix modprobe "sysfs: cannot create duplicate filename" 2023-03-22 22:04:04 -07:00
vmxnet3 vmxnet3: use gro callback when UPT is enabled 2023-03-24 19:13:49 -07:00
vxlan
wan
wireguard
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-06 12:01:20 -07:00
wwan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-06 12:01:20 -07:00
xen-netback xen/netback: use same error messages for same errors 2023-03-30 15:39:23 +02:00
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c net: geneve: accept every ethertype 2023-03-21 13:39:29 +01:00
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c macvlan: Fix mc_filter calculation 2023-03-31 08:56:42 +01:00
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c net/net_failover: fix txq exceeding warning 2023-03-27 08:08:57 +01:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c
tun.c
veth.c bpf-for-netdev 2023-03-23 16:03:33 -07:00
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c