summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-10-04 13:52:57 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-10-04 10:40:29 -0500
commitfaf88ed1c083017d1f4478f45c4f375e7a3f8bdc (patch)
tree2148f7c1acc263d8b423f13b1bc67e825e663fff /drivers/reset
parentc842379d00f1595bb5a025f24de016f7b937cd59 (diff)
downloadlinux-faf88ed1c083017d1f4478f45c4f375e7a3f8bdc.tar.bz2
remoteproc: meson-mx-ao-arc: fix a bit test
The MESON_AO_RPROC_SRAM_USABLE_BITS macro is used like this: if (priv->sram_pa & ~MESON_AO_RPROC_SRAM_USABLE_BITS) { dev_err(dev, "SRAM address contains unusable bits\n"); The problem is that "->sram_pa" is type phys_addr_t which is potentially 64 bits. That means the MESON_AO_RPROC_SRAM_USABLE_BITS macro needs to be a 64 bit type as well to ensure that high 32 bits are cleared. Fixes: 6cb58ea897dd ("remoteproc: meson-mx-ao-arc: Add a driver for the AO ARC remote procesor") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211004105257.GA27301@kili
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions