diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-31 14:06:23 +0200 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2022-09-28 16:09:50 +0100 |
| commit | 3fa9e4cfb55da512ebfd57336fde468830719298 (patch) | |
| tree | 4a792ab37b06d3aa842f73eb07018ede81d8c81a /tools/perf/scripts/python | |
| parent | dt-bindings: mfd: x-powers,axp152: Document the AXP228 variant (diff) | |
| download | linux-3fa9e4cfb55da512ebfd57336fde468830719298.tar.gz linux-3fa9e4cfb55da512ebfd57336fde468830719298.zip | |
mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
If devm_of_platform_populate() fails, some resources need to be
released.
Introduce a mx25_tsadc_unset_irq() function that undoes
mx25_tsadc_setup_irq() and call it both from the new error handling path
of the probe and in the remove function.
Fixes: a55196eff6d6 ("mfd: fsl-imx25: Use devm_of_platform_populate()")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/d404e04828fc06bcfddf81f9f3e9b4babbe35415.1659269156.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
