summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-01-28 16:52:38 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-15 14:18:04 +0200
commitf8a3de8d7c2f5df50290561016f4839dbb8cd1a5 (patch)
tree7e50b650092ebdb6a3484a8ff6151c93d452aa64 /tools
parente5e748a6ff11f8c0fe3d10c4d5ff7e0997f312bd (diff)
spi: tegra114: Add missing IRQ check in tegra_spi_probe
[ Upstream commit 4f92724d4b92c024e721063f520d66e11ca4b54b ] This func misses checking for platform_get_irq()'s call and may passes the negative error codes to request_threaded_irq(), which takes unsigned IRQ #, causing it to fail with -EINVAL, overriding an original error code. Stop calling request_threaded_irq() with invalid IRQ #s. Fixes: f333a331adfa ("spi/tegra114: add spi driver") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220128165238.25615-1-linmq006@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions