Commit eccbd8f
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 eccbd8f
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
882 | 881 | | |
883 | 882 | | |
884 | 883 | | |
| |||
909 | 908 | | |
910 | 909 | | |
911 | 910 | | |
912 | | - | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
913 | 917 | | |
914 | 918 | | |
915 | 919 | | |
| |||
0 commit comments