mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: ipa: simplify endpoint programming
@ 2020-07-02 11:25 Alex Elder
  2020-07-02 11:25 ` [PATCH net-next 1/4] net: ipa: move version test inside ipa_endpoint_program_delay() Alex Elder
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alex Elder @ 2020-07-02 11:25 UTC (permalink / raw)
  To: davem, kuba
  Cc: evgreen, subashab, cpratapa, bjorn.andersson, netdev, linux-kernel

Add tests to functions so they don't update undefined endpoint
registers, rather than requiring the caller to avoid calling them.

Move the call to a workaround function required when suspending
inside the function that puts an endpoint into suspend mode.  This
requires moving a few functions (which are otherwise unchanged).

Then simplify ipa_endpoint_program() to call essentially all
endpoint register update functions unconditionally.

					-Alex

Alex Elder (4):
  net: ipa: move version test inside ipa_endpoint_program_delay()
  net: ipa: always handle suspend workaround
  net: ipa: move version test inside ipa_endpoint_program_suspend()
  net: ipa: simplify ipa_endpoint_program()

 drivers/net/ipa/ipa_endpoint.c | 190 +++++++++++++++++----------------
 1 file changed, 99 insertions(+), 91 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-02 21:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 11:25 [PATCH net-next 0/4] net: ipa: simplify endpoint programming Alex Elder
2020-07-02 11:25 ` [PATCH net-next 1/4] net: ipa: move version test inside ipa_endpoint_program_delay() Alex Elder
2020-07-02 11:25 ` [PATCH net-next 2/4] net: ipa: always handle suspend workaround Alex Elder
2020-07-02 11:25 ` [PATCH net-next 3/4] net: ipa: move version test inside ipa_endpoint_program_suspend() Alex Elder
2020-07-02 11:25 ` [PATCH net-next 4/4] net: ipa: simplify ipa_endpoint_program() Alex Elder
2020-07-02 21:31 ` [PATCH net-next 0/4] net: ipa: simplify endpoint programming David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®