aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-08-11 13:53:05 +0300
committerLee Jones <[email protected]>2022-09-28 16:17:39 +0100
commit75db7907355ca5e2ff606e9dd3e86b6c3a455fe2 (patch)
tree2df6cb4df99f50eae2e0390a52e176e4dbe3b04e /lib/mpi/mpi-internal.h
parentf8c1940165bea6200ce2aa1cb515a2ffa0709d74 (diff)
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 <[email protected]> Reviewed-by: Martin Kaiser <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/YvTfkbVQWYKMKS/t@kili
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions