diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-08-20 18:37:55 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2021-08-31 13:09:53 +0300 |
commit | 555bda42b0c1a5ffb72d3227c043e8afde778f1f (patch) | |
tree | 84f98245098a6211ea1961b898eae5abe07b5b14 /drivers/gpio/gpio-mt7621.c | |
parent | 6b4a2a427245fd357208ccf427891805354ef5b1 (diff) | |
download | linux-555bda42b0c1a5ffb72d3227c043e8afde778f1f.tar.xz |
gpio: mpc8xxx: Fix a resources leak in the error handling path of 'mpc8xxx_probe()'
Commit 698b8eeaed72 ("gpio/mpc8xxx: change irq handler from chained to normal")
has introduced a new 'goto err;' at the very end of the function, but has
not updated the error handling path accordingly.
Add the now missing 'irq_domain_remove()' call which balances a previous
'irq_domain_create_linear() call.
Fixes: 698b8eeaed72 ("gpio/mpc8xxx: change irq handler from chained to normal")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-mt7621.c')
0 files changed, 0 insertions, 0 deletions