diff options
author | Zhang Shurong <[email protected]> | 2023-07-22 23:49:09 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-07-26 16:30:19 +0100 |
commit | 29a449e765ff70a5bd533be94babb6d36985d096 (patch) | |
tree | 01b522c3a22123f530dc22e1347d9243f893a024 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7ad1c439fb25907dba31af5d66b44c6a3b999c89 (diff) |
spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
The platform_get_irq might be failed and return a negative result. So
there should have an error handling code.
Fixed this by adding an error handling code.
Fixes: 8528547bcc33 ("spi: tegra: add spi driver for sflash controller")
Signed-off-by: Zhang Shurong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions