diff options
author | Alex Elder <elder@linaro.org> | 2020-12-02 17:15:02 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-03 04:11:21 +0300 |
commit | 9693e08f2814e37fce6941b140294eeb8e785375 (patch) | |
tree | 86fba017291b9d677ecd6b2cdd487578921cca26 /drivers/net/dsa/microchip | |
parent | 05e3ecea4a6305597a060da0a123c80df8827bf1 (diff) | |
download | linux-9693e08f2814e37fce6941b140294eeb8e785375.tar.xz |
net: ipa: fix build-time bug in ipa_hardware_config_qsb()
Jon Hunter reported observing a build bug in the IPA driver:
https://lore.kernel.org/netdev/5b5d9d40-94d5-5dad-b861-fd9bef8260e2@nvidia.com
The problem is that the QMB0 max read value set for IPA v4.5 (16) is
too large to fit in the 4-bit field.
The actual value we want is 0, which requests that the hardware use
the maximum it is capable of.
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20201202141502.21265-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip')
0 files changed, 0 insertions, 0 deletions