Skip to content

Commit df7b4d6

Browse files
Wolfram Sangwsakernel
authored andcommitted
i2c: reword explanation about atomic transfers
Atomic transfers are not only about sending messages like the original wording suggested. Speak of 'accessing' now like in i2c.h. Reported-by: Michał Mirosław <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 5c71ca4 commit df7b4d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/i2c/i2c-core.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ int i2c_dev_irq_from_resources(const struct resource *resources,
2323
unsigned int num_resources);
2424

2525
/*
26-
* We only allow atomic transfers for very late communication, e.g. to send
27-
* the powerdown command to a PMIC. Atomic transfers are a corner case and not
28-
* for generic use!
26+
* We only allow atomic transfers for very late communication, e.g. to access a
27+
* PMIC when powering down. Atomic transfers are a corner case and not for
28+
* generic use!
2929
*/
3030
static inline bool i2c_in_atomic_xfer_mode(void)
3131
{

0 commit comments

Comments
 (0)