summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-07-31 11:55:27 +0200
committerLee Jones <lee@kernel.org>2022-09-28 16:09:50 +0100
commitbecfdcd75126b20b8ec10066c5e85b34f8994ad5 (patch)
treedcdeb8b6bb2649ea6a2cb0cf6daf094e0618b113 /drivers/watchdog
parent3fa9e4cfb55da512ebfd57336fde468830719298 (diff)
mfd: lp8788: Fix an error handling path in lp8788_probe()
Should an error occurs in mfd_add_devices(), some resources need to be released, as already done in the .remove() function. Add an error handling path and a lp8788_irq_exit() call to undo a previous lp8788_irq_init(). 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/18398722da9df9490722d853e4797350189ae79b.1659261275.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions