i2c: npcm: Assign client address earlier for `i2c_recover_bus()`
authorTyrone Ting <kfting@nuvoton.com>
Thu, 19 Dec 2024 09:08:57 +0000 (17:08 +0800)
committerAndi Shyti <andi.shyti@kernel.org>
Tue, 7 Jan 2025 22:46:10 +0000 (23:46 +0100)
commit862dd4f7733a694b12ad9e023ce639e9c21d6abd
treeee0de34dae974471e9ae9b4c674b3bbf87d0ccfc
parent4a34b9bf5f6f3f3ed910863fd1b4741a62864d4b
i2c: npcm: Assign client address earlier for `i2c_recover_bus()`

Store the client address earlier since it might get called in
the i2c_recover_bus() logic flow at the early stage of
npcm_i2c_master_xfer().

Signed-off-by: Tyrone Ting <kfting@nuvoton.com>
Reviewed-by: Tali Perry <tali.perry1@gmail.com>
Link: https://lore.kernel.org/r/20241219090859.18722-3-kfting@nuvoton.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-npcm7xx.c