summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/bnxt_re/qplib_rcfw.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2020-09-17 18:34:04 +0300
committerMark Brown <broonie@kernel.org>2020-09-21 20:58:01 +0100
commit4003324856311faebb46cbd56a1616bd3f3b67c2 (patch)
treebdd828476621322c7587a64f9fafdd7ec1b69ef5 /drivers/infiniband/hw/bnxt_re/qplib_rcfw.c
parentd36cb0205f034e943aa29e35b59c6a441f0056b5 (diff)
regmap: fix page selection for noinc reads
Non-incrementing reads can fail if register + length crosses page border. However for non-incrementing reads we should not check for page border crossing. Fix this by passing additional flag to _regmap_raw_read and passing length to _regmap_select_page basing on the flag. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Fixes: 74fe7b551f33 ("regmap: Add regmap_noinc_read API") Link: https://lore.kernel.org/r/20200917153405.3139200-1-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