i2c-i801: Various cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest10 patches 13 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | i2c-i801: Remove hwpec from block byte-by-byte functiondrivers/ | +2 | 1 reply | |
| 2/10 | i2c-i801: Move hostcfg set/reset to i801_access()drivers/ | +19 | 2 replies | |
| 3/10 | i2c-i801: Move hwpec handling into block transactiondrivers/ | +25 | 1 reply | |
| 4/10 | i2c-i801: Consolidate calls to i801_check_pre()drivers/ | +4 | 2 replies | |
| 5/10 | i2c-i801: Consolidate calls to i801_check_postdrivers/ | +25 | 2 replies | |
| 6/10 | i2c-i801: Pass around a boolean read/write variabledrivers/ | +24 | 1 reply | |
| 7/10 | i2c-i801: Fix some inconsistent variable namesdrivers/ | +14 | 2 replies | |
| 8/10 | i2c-i801: Handle a protocol error in byte-by-byte isrdrivers/ | +16 | 1 reply | |
| 9/10 | i2c-i801: Null isr data buffer when done with itdrivers/ | +1 | 1 reply | |
| 10/10 | i2c-i801: Only write the host control reg when necessarydrivers/ | +3 | 0 replies |
Reviews trailers per patch
3 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Benjamin Tissoires |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | R-b |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] i2c-i801: Various cleanups
This is a new set that is fairly different than the old set, though it fixes a lot of the same issues, and some new ones I noticed.
I did not do the consolidation of the isr and non-isr byte-by-byte handling, based on Jean's comments.
I tested this on qemu (including returning a bad number of bytes to cause a protocol error) with all four combinations of block/byte-by-byte and interrupts/polled.
I also tested all those combinations on an Intel Chesnee board.
I do not know aobut hwpec, so I assumed it doesn't work on byte-by-byte transactions. I'm not quite sure how to test that.
Feel free to say if you like or don't like certain changes, and I will rework as necessary, of course.
-corey