commit | b07f283ef3d0c97f67e5f446bb027c4456d75f1f | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Thu Jul 02 06:25:36 2020 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 02 14:31:20 2020 -0700 |
tree | 194cd7f8bf09ef4b18cb1a91b1b0349149ce9208 | |
parent | fff899716f88f84afef4c952a3d7b8b48a070c4c [diff] |
net: ipa: move version test inside ipa_endpoint_program_suspend() IPA version 4.0+ does not support endpoint suspend. Put a test at the top of ipa_endpoint_program_suspend() that returns immediately if suspend is not supported rather than making that check in the caller. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>