diff options
author | Troy Mitchell <troy.mitchell@linux.spacemit.com> | 2025-09-25 10:02:28 +0800 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-09-25 23:49:08 +0200 |
commit | db7720ef50e0103be70a3887bc66e9c909933ad9 (patch) | |
tree | 3bc77fc4034ea79721c39ced9e469e8e9d129253 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 11f40684ccd84e792eced110f0a5d3d6adbdf90d (diff) |
i2c: spacemit: check SDA instead of SCL after bus reset
After calling spacemit_i2c_conditionally_reset_bus(),
the controller should ensure that the SDA line is release
before proceeding.
Previously, the driver checked the SCL line instead,
which does not guarantee that the bus is truly idle.
This patch changes the check to verify SDA. This ensures
proper bus recovery and avoids potential communication errors
after a conditional reset.
Fixes: 5ea558473fa31 ("i2c: spacemit: add support for SpacemiT K1 SoC")
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions