diff options
| author | Christophe JAILLET <[email protected]> | 2025-03-03 19:53:08 +0000 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2025-03-12 11:24:52 +0000 |
| commit | 9b5463f349d019a261f1e80803447efca3126151 (patch) | |
| tree | a8e2abffda495c50484b537bf009ec606b4d838f /tools/testing/selftests/net/lib/py/utils.py | |
| parent | i2c: omap: fix IRQ storms (diff) | |
| download | kernel-9b5463f349d019a261f1e80803447efca3126151.tar.gz kernel-9b5463f349d019a261f1e80803447efca3126151.zip | |
i2c: ali1535: Fix an error handling path in ali1535_probe()
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 <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/0daf63d7a2ce74c02e2664ba805bbfadab7d25e5.1741031571.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
