Merge branch 'net-ipa-simplify-endpoint-programming'
authorDavid S. Miller <davem@davemloft.net>
Thu, 2 Jul 2020 21:31:21 +0000 (14:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jul 2020 21:31:21 +0000 (14:31 -0700)
Alex Elder says:

====================
net: ipa: simplify endpoint programming

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge