linux/drivers/net
Alex Elder 923a6b6984 net: ipa: get clock in ipa_probe()
Any entry point that leads to IPA hardware access must ensure the
hardware is operational (clocked).  Currently we ensure this by
taking an extra clock reference during setup that is not released
until we receive a system suspend request.  But this extra reference
will soon go away.

When the platform driver ->probe function is called, we first need
hardware access in ipa_config().  Although ipa_config() takes an IPA
clock reference, it the special reference taken to prevent suspending
the hardware.

Have ipa_probe() take a reference before calling ipa_config(), so
that the "no-suspend" reference can eventually go away.  Drop this
reference before ipa_probe() returns.

Similarly, the driver ->remove function can be called at any time.
Take an IPA clock reference at the beginning of that function, and
drop it again after the deconfig stage has completed (at which point
hardware access is no longer needed).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-28 00:06:27 +01:00
..
appletalk appletalk: use ndo_siocdevprivate 2021-07-27 20:11:43 +01:00
arcnet
bonding net: bonding: move ioctl handling to private ndo operation 2021-07-27 20:11:45 +01:00
caif Networking fixes for 5.14-rc2, including fixes from bpf and netfilter. 2021-07-14 09:24:32 -07:00
can can: flexcan: update Kconfig to enable coldfire 2021-07-25 11:36:29 +02:00
dsa net: dsa: sja1105: add bridge TX data plane offload based on tag_8021q 2021-07-26 22:35:22 +01:00
ethernet ionic: add function tag to debug string 2021-07-27 20:15:22 +01:00
fddi fddi: use ndo_siocdevprivate 2021-07-27 20:11:43 +01:00
fjes Tracing updates for 5.14: 2021-07-03 11:13:22 -07:00
hamradio hamradio: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
hippi hippi: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
hyperv Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
ieee802154 ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl() 2021-06-22 21:26:59 +02:00
ipa net: ipa: get clock in ipa_probe() 2021-07-28 00:06:27 +01:00
ipvlan
mdio net: mdiobus: withdraw fwnode_mdbiobus_register 2021-06-25 11:46:29 -07:00
mhi net: mhi: Improve MBIM packet counting 2021-07-26 12:21:00 +01:00
netdevsim netdevsim: Add multi-queue support 2021-07-16 11:17:56 -07:00
pcs net: pcs: xpcs: Fix a less than zero u16 comparison error 2021-06-17 11:14:06 -07:00
phy dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
plip slip/plip: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
ppp ppp: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
slip slip/plip: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
team
usb dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
vmxnet3 vmxnet3: update to version 6 2021-07-16 17:32:14 -07:00
wan net: split out ndo_siowandev ioctl 2021-07-27 20:11:45 +01:00
wireguard
wireless airo: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
wwan wwan: core: Fix missing RTM_NEWLINK event for default link 2021-07-23 17:16:19 +01:00
xen-netback
bareudp.c bareudp: allow redirecting bareudp packets to eth devices 2021-06-28 12:44:17 -07:00
dummy.c
eql.c eql: use ndo_siocdevprivate 2021-07-27 20:11:43 +01:00
geneve.c
gtp.c gtp: reset mac_header after decap 2021-06-28 12:44:17 -07:00
ifb.c
Kconfig net: wwan: Fix WWAN config symbols 2021-06-14 13:17:10 -07:00
LICENSE.SRC
loopback.c
macsec.c net: macsec: fix the length used to copy the key for offloading 2021-06-24 12:41:12 -07:00
macvlan.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c sb1000: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c veth: create by default nr_possible_cpus queues 2021-07-20 06:11:18 -07:00
virtio_net.c Networking fixes for 5.14-rc2, including fixes from bpf and netfilter. 2021-07-14 09:24:32 -07:00
vrf.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-06-29 15:45:27 -07:00
vsockmon.c
vxlan.c vxlan: add missing rcu_read_lock() in neigh_reduce() 2021-06-22 09:48:38 -07:00
xen-netfront.c