summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-crystalcove.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2025-03-03 21:26:54 +0100
committerAndi Shyti <andi.shyti@kernel.org>2025-03-12 12:24:53 +0100
commit2b22459792fcb4def9f0936d64575ac11a95a58d (patch)
tree13d73114878c1d37ffdaf71496b354158a8471b7 /drivers/gpio/gpio-crystalcove.c
parent6e55caaf30c88209d097e575a169b1dface1ab69 (diff)
i2c: sis630: Fix an error handling path in sis630_probe()
If i2c_add_adapter() fails, the request_region() call in sis630_setup() must be undone by a corresponding release_region() call, as done in the remove function. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/3d607601f2c38e896b10207963c6ab499ca5c307.1741033587.git.christophe.jaillet@wanadoo.fr Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-crystalcove.c')
0 files changed, 0 insertions, 0 deletions