]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa151c388eb0c252fc54fd005ae5ca14b5881404
treea8d12cabe11d614075454fc5c4aa6f0e13176d28
parent89b8fb6c2aa3ab3df238d9b265047192545a2081
parentd50c838e6d4de08c5b66887395299db06385bd4d
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>