OSDN Git Service

net: ipa: clarify endpoint register macro constraints
authorAlex Elder <elder@linaro.org>
Tue, 30 Jun 2020 13:33:03 +0000 (08:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jul 2020 22:30:34 +0000 (15:30 -0700)
commit8b97bcb7bb2629e0840c2bebdfff050f890caac9
tree7f3d42a4bbaa6305dc23e90b096fc8e242dee222
parent00b9102afadf08af6cd283400809163f7d4680af
net: ipa: clarify endpoint register macro constraints

A handful of registers are valid only for RX endpoints, and some
others are valid only for TX endpoints.  For these endpoints, add
a comment above their defined offset macro that indicates the
endpoints to which they apply.

Extend the endpoint parameter naming convention as well, to make
these constraints more explicit.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_reg.h