diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-03-03 22:58:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-22 22:54:27 +0300 |
commit | ee2ae325f78e61c170a9ef126642f1e353e46a31 (patch) | |
tree | 63d55df18177dd020bb8a2b7885de698d54a8c1d /net/lapb/lapb_in.c | |
parent | be05097610f00f9fe433c6596cb091e0c9d76b3d (diff) | |
download | linux-ee2ae325f78e61c170a9ef126642f1e353e46a31.tar.xz |
i2c: ali15x3: Fix an error handling path in ali15x3_probe()
[ Upstream commit 6e55caaf30c88209d097e575a169b1dface1ab69 ]
If i2c_add_adapter() fails, the request_region() call in ali15x3_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/9b2090cbcc02659f425188ea05f2e02745c4e67b.1741031878.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions