aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/lpc_ich.c
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 16:17:39 +0100
commit75db7907355ca5e2ff606e9dd3e86b6c3a455fe2 (patch)
tree2df6cb4df99f50eae2e0390a52e176e4dbe3b04e /drivers/mfd/lpc_ich.c
parentdt-bindings: mfd: qcom,tcsr: Add several devices (diff)
downloadlinux-dev-75db7907355ca5e2ff606e9dd3e86b6c3a455fe2.tar.xz
linux-dev-75db7907355ca5e2ff606e9dd3e86b6c3a455fe2.zip
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 'drivers/mfd/lpc_ich.c')
0 files changed, 0 insertions, 0 deletions