Files
kernel_arpi/drivers/net/ipa
Alex Elder 8dc181f2cd 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>
2021-08-14 14:13:39 +01:00
..
2021-04-09 20:57:26 -07:00
2020-07-13 17:11:53 -07:00
2021-07-26 23:09:18 +01:00
2021-07-26 23:09:18 +01:00
2021-07-26 23:09:18 +01:00
2021-06-11 14:13:18 -07:00
2021-06-11 14:13:18 -07:00
2021-07-26 23:09:18 +01:00
2021-06-11 14:13:18 -07:00
2021-08-05 11:27:05 +01:00