diff options
| author | Christophe JAILLET <[email protected]> | 2025-05-13 17:56:41 +0000 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2025-05-14 15:28:24 +0000 |
| commit | 1cfe51ef07ca3286581d612debfb0430eeccbb65 (patch) | |
| tree | b6dc9ab04029478994db7a5c6a14290d3b9fdd17 /rust/helpers/mutex.c | |
| parent | Linux 6.15-rc6 (diff) | |
| download | kernel-1cfe51ef07ca3286581d612debfb0430eeccbb65.tar.gz kernel-1cfe51ef07ca3286581d612debfb0430eeccbb65.zip | |
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 <[email protected]>
Cc: <[email protected]> # v5.13+
Acked-by: Jarkko Nikula <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/fcd9651835a32979df8802b2db9504c523a8ebbb.1747158983.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
