net: ipa: simplify endpoint programming
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: ipa: move version test inside ipa_endpoint_program_delay()drivers/ | +4 | 0 replies | |
| 2/4 | net: ipa: always handle suspend workarounddrivers/ | +63 | 0 replies | |
| 3/4 | net: ipa: move version test inside ipa_endpoint_program_suspend()drivers/ | +13 | 0 replies | |
| 4/4 | net: ipa: simplify ipa_endpoint_program()drivers/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/4] 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.
-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(-)
Signature · 1 line
2.25.1