diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-05-13 19:56:41 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2025-05-14 17:28:24 +0200 |
commit | 1cfe51ef07ca3286581d612debfb0430eeccbb65 (patch) | |
tree | b6dc9ab04029478994db7a5c6a14290d3b9fdd17 /scripts/gdb/linux/utils.py | |
parent | 82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3 (diff) |
i2c: designware: Fix an error handling path in i2c_dw_pci_probe()
If navi_amd_register_client() fails, the previous i2c_dw_probe() call
should be undone by a corresponding i2c_del_adapter() call, as already done
in the remove function.
Fixes: 17631e8ca2d3 ("i2c: designware: Add driver support for AMD NAVI GPU")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: <stable@vger.kernel.org> # v5.13+
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/fcd9651835a32979df8802b2db9504c523a8ebbb.1747158983.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions