aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8998.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-07-31 11:55:38 +0200
committerLee Jones <lee@kernel.org>2022-09-28 16:09:50 +0100
commit557244f6284f30613f2d61f14b579303165876c3 (patch)
tree088bd8774372bd9249b4b4afd10854aaf2f226ec /drivers/mfd/max8998.c
parentbecfdcd75126b20b8ec10066c5e85b34f8994ad5 (diff)
downloadlinux-557244f6284f30613f2d61f14b579303165876c3.tar.gz
mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
In lp8788_irq_init(), if an error occurs after a successful irq_domain_add_linear() call, it must be undone by a corresponding irq_domain_remove() call. irq_domain_remove() should also be called in lp8788_irq_exit() for the same reason. Fixes: eea6b7cc53aa ("mfd: Add lp8788 mfd driver") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/bcd5a72c9c1c383dd6324680116426e32737655a.1659261275.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers/mfd/max8998.c')
0 files changed, 0 insertions, 0 deletions