diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2020-09-17 18:34:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-21 20:58:02 +0100 |
commit | 05669b63170771d554854c0e465b76dc98fc7c84 (patch) | |
tree | 4ae810e58655b757338ded381c449a9557ed95cd /drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | |
parent | 4003324856311faebb46cbd56a1616bd3f3b67c2 (diff) |
regmap: fix page selection for noinc writes
Non-incrementing writes can fail if register + length crosses page
border. However for non-incrementing writes we should not check for page
border crossing. Fix this by passing additional flag to _regmap_raw_write
and passing length to _regmap_select_page basing on the flag.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: cdf6b11daa77 ("regmap: Add regmap_noinc_write API")
Link: https://lore.kernel.org/r/20200917153405.3139200-2-dmitry.baryshkov@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/qplib_rcfw.c')
0 files changed, 0 insertions, 0 deletions