diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-11-29 11:17:12 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-01 08:06:14 -0500 |
commit | fa8cc38165c2f6f73bf947087b3cdc5dd9b9b560 (patch) | |
tree | 6957b38cfeb6df01d55acde74429706678f9905f /tools/perf/scripts/python/intel-pt-events.py | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) |
ASoC: nuc900: Fix platform_get_irq's error checking
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions