]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 26 Apr 2020 19:44:03 +0000 (21:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 15:37:43 +0000 (17:37 +0200)
commitf2c5f3aefb3a5cb579486c6fdc9520bd09241e4e
tree90dbb33bdc6a588fc5edf11998b7a9ff407c62de
parentf289ee6ebb64ef45abb845a08f7f42f3aa0c3892
iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'

commit aad4742fbf0a560c25827adb58695a4497ffc204 upstream.

A call to 'vf610_dac_exit()' is missing in an error handling path.

Fixes: 1b983bf42fad ("iio: dac: vf610_dac: Add IIO DAC driver for Vybrid SoC")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/dac/vf610_dac.c