[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200702112537.347994-1-elder@linaro.org>
Date: Thu, 2 Jul 2020 06:25:33 -0500
From: Alex Elder <elder@...aro.org>
To: davem@...emloft.net, kuba@...nel.org
Cc: evgreen@...omium.org, subashab@...eaurora.org,
cpratapa@...eaurora.org, bjorn.andersson@...aro.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [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(-)
--
2.25.1
Powered by blists - more mailing lists