diff options
| author | 2022-01-28 16:59:56 +0000 | |
|---|---|---|
| committer | 2022-02-08 13:40:21 +0000 | |
| commit | 47c3e06ed95aa9b74932dbc6b23b544f644faf84 (patch) | |
| tree | b6c1099dfe65e3ad017deb22ba8a841cdef30a22 /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | spi: Fix test error for sp7021. (diff) | |
| download | linux-dev-47c3e06ed95aa9b74932dbc6b23b544f644faf84.tar.xz linux-dev-47c3e06ed95aa9b74932dbc6b23b544f644faf84.zip | |
spi: tegra210-quad: Fix missin IRQ check in tegra_qspi_probe
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: 921fc1838fb0 ("spi: tegra210-quad: Add support for Tegra210 QSPI controller")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220128165956.27821-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
