Skip to content
Commit 50adadfa authored by Phil Elwell's avatar Phil Elwell Committed by Phil Elwell
Browse files

i2c: designware: Add SMBUS quick command support



The SMBUS emulation code turns an SMBUS quick command into a zero-
length read. This controller can't do zero length accesses, but it
can do quick commands, so reverse the emulation. The alternative
would be to properly implement the SMBUS support but that is a lot
more work, and unnecessary just to get i2cdetect working.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent b427cc1a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment