diff options
| author | Quentin Schulz <[email protected]> | 2025-11-07 12:39:18 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2025-12-14 00:02:10 +0800 |
| commit | 1cf8d0b68d6d853a2727bbb0a785fc7d93304ca4 (patch) | |
| tree | b1686edacce7f9c8b422b7c6cc3852a8cb299e2c /doc/develop | |
| parent | c9d27133159d0a84bf11052f588194a734cb48d4 (diff) | |
rockchip: i2c: move ACK comment where it applies
The I2C_CON_LASTACK is kind of a misnomer as setting it means sending a
NACK as last byte acknowledge when the controller is in receive mode. It
should therefore be used only when there's no more data to transfer
after this.
Move the comment in the proper if block.
Sync the comment with the Linux kernel's while at it so it's more
explicit.
Fixes: 5deaa530280f ("rockchip: i2c: fix >32 byte reads")
Signed-off-by: Quentin Schulz <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
