commit | fb57c3ea98519f811b37f299e0ac4988a021fe2a | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Thu Jul 02 06:25:37 2020 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 02 14:31:20 2020 -0700 |
tree | a8d12cabe11d614075454fc5c4aa6f0e13176d28 | |
parent | b07f283ef3d0c97f67e5f446bb027c4456d75f1f [diff] |
net: ipa: simplify ipa_endpoint_program() Have functions that write endpoint configuration registers return immediately if they are not valid for the direction of transfer for the endpoint. This allows most of the calls in ipa_endpoint_program() to be made unconditionally. Reorder the register writes to match the order of their definition (based on offset). Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>