diff options
| author | Coben Han <[email protected]> | 2026-06-11 12:06:46 +0900 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2026-07-08 11:23:25 +0200 |
| commit | b8487e7e2d10f83bd356f42b0cc29134eafe97ca (patch) | |
| tree | 8d0daeaca8e40541f01c797ae7b0ac58b6089375 /include/fuzzing_engine.h | |
| parent | a8d40f922d10da8b25973dd786380190a8ecb89e (diff) | |
i2c: designware: fix i2c probe error
Probing i2c slave device just needs its device address.
A certain type of chipsets such as RTC S35390A have no offset,
which means address length should be 0.
But the current designware_i2c_probe_chip function requires
offset 0 and its length 1.
This causes the designware-i2c to be initialized again and again.
Furthermore, after booting into kernel, the designware-i2c kernel
driver complains its controller timeout.
This patch fixes this misbehaviour in such way that only device
address is issued, no reinitialization needs when target device
not detected, the designware-i2c kernel driver continues working.
Signed-off-by: Coben Han <[email protected]>
Diffstat (limited to 'include/fuzzing_engine.h')
0 files changed, 0 insertions, 0 deletions
