summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-08-12 14:50:35 -0500
committerDavid S. Miller <davem@davemloft.net>2021-08-14 14:13:39 +0100
commit8dc181f2cd621e8eaa3d9d432e5ebf0175244c4a (patch)
tree62ad23e8e0a0ea4f719b8d6f86ebc6816a4e6832 /net/unix/af_unix.c
parent8dcf8bb30f17d4ac1233be877c1650c5a1b34ca8 (diff)
net: ipa: don't hold clock reference while netdev open
Currently a clock reference is taken whenever the ->ndo_open callback for the modem netdev is called. That reference is dropped when the device is closed, in ipa_stop(). We no longer need this, because ipa_start_xmit() now handles the situation where the hardware power state is not active. Drop the clock reference in ipa_open() when we're done, and take a new reference in ipa_stop() before we begin closing the interface. Finally (and unrelated, but trivial), change the return type of ipa_start_xmit() to be netdev_tx_t instead of int. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions