diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-03-03 22:53:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-22 22:56:58 +0300 |
commit | c55385168d5466d79f95b187c28ad0a3bbb7218e (patch) | |
tree | 37735c8850f598f14547591fb3d81dfb206bdf64 /scripts/gdb/linux/utils.py | |
parent | 09f196098a4786e6164ae82bb0bbe35da9992700 (diff) | |
download | linux-c55385168d5466d79f95b187c28ad0a3bbb7218e.tar.xz |
i2c: ali1535: Fix an error handling path in ali1535_probe()
[ Upstream commit 9b5463f349d019a261f1e80803447efca3126151 ]
If i2c_add_adapter() fails, the request_region() call in ali1535_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>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/0daf63d7a2ce74c02e2664ba805bbfadab7d25e5.1741031571.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions