summaryrefslogtreecommitdiffstats
path: root/usr/include
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-04-22 03:45:43 +0200
committerMark Brown <broonie@kernel.org>2020-04-22 15:07:46 +0200
commitf58dcab68aa57e74c12c9bec7ff1bb73e0b35143 (patch)
tree96d0caafc6e1330d0407a699c0bf347caa4aebf1 /usr/include
parentspi: bcm-qspi: MSPI_SPCR0_MSB MSTR bit exists only on legacy controllers (diff)
downloadlinux-f58dcab68aa57e74c12c9bec7ff1bb73e0b35143.tar.xz
linux-f58dcab68aa57e74c12c9bec7ff1bb73e0b35143.zip
spi: spi-fsl-qspi: Fix return value check of devm_ioremap() in probe
In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 858e26a515c2 ("spi: spi-fsl-qspi: Reduce devm_ioremap size to 4 times AHB buffer size") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Ashish Kumar <Ashish.Kumar@nxp.com> Acked-by: Han Xu <han.xu@nxp.com> Link: https://lore.kernel.org/r/20200422014543.111070-1-weiyongjun1@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'usr/include')
0 files changed, 0 insertions, 0 deletions