Commit 5d9d4c1
committed
i2c: Add work-around to make i2c scan work
The I2C HW cannot support 0-byte transfer as I2C scan requests. Send one dummy
byte for I2C scan to make it work.
Signed-off-by: Dong Wang <dong.d.wang@intel.com>1 parent cab34ab commit 5d9d4c1
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
912 | | - | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
913 | 918 | | |
914 | 919 | | |
915 | 920 | | |
| |||
0 commit comments