summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-08-11 13:53:05 +0300
committerLee Jones <lee@kernel.org>2022-09-28 18:17:39 +0300
commit75db7907355ca5e2ff606e9dd3e86b6c3a455fe2 (patch)
tree2df6cb4df99f50eae2e0390a52e176e4dbe3b04e /tools/perf/scripts/python/export-to-sqlite.py
parentf8c1940165bea6200ce2aa1cb515a2ffa0709d74 (diff)
downloadlinux-75db7907355ca5e2ff606e9dd3e86b6c3a455fe2.tar.xz
mfd: fsl-imx25: Fix check for platform_get_irq() errors
The mx25_tsadc_remove() function assumes all non-zero returns are success but the platform_get_irq() function returns negative on error and positive non-zero values on success. It never returns zero, but if it did then treat that as a success. Fixes: 18f773937968 ("mfd: fsl-imx25: Clean up irq settings during removal") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/YvTfkbVQWYKMKS/t@kili
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions