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)
commitdd2b7a66b6a9c7bdf2c3d62e5d5b1a2abdddb052
treea8d12cabe11d614075454fc5c4aa6f0e13176d28
parent4e1a69116869b26d244c2522bd1631967b62ffce
parentfb57c3ea98519f811b37f299e0ac4988a021fe2a
Merge branch 'net-ipa-simplify-endpoint-programming'

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>