diff options
author | Alex Elder <elder@linaro.org> | 2022-10-27 07:26:32 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-28 22:06:48 -0700 |
commit | b7aaff0b010ede619bdea22118d4a2f9aa966867 (patch) | |
tree | 5f75414aab52e7c77f64ab8c5b420e67bb42f009 /drivers/gpu/drm/bridge/cdns-dsi.c | |
parent | 5274c7158b2b6661f43883617ce638200312412b (diff) |
net: ipa: record and use the number of defined endpoint IDs
Define a new field in the IPA structure that records the maximum
number of entries that will be used in the IPA endpoint array. Use
that value rather than IPA_ENDPOINT_MAX to determine the end
condition for two loops that iterate over all endpoints.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/bridge/cdns-dsi.c')
0 files changed, 0 insertions, 0 deletions