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 <mirq-linux@rere.qmqm.pl>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
Wolfram Sang 2020-05-05 18:01:01 +02:00 committed by Wolfram Sang
parent 5c71ca4d4f
commit df7b4d6f7d
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ int i2c_dev_irq_from_resources(const struct resource *resources,
unsigned int num_resources); unsigned int num_resources);
/* /*
* We only allow atomic transfers for very late communication, e.g. to send * We only allow atomic transfers for very late communication, e.g. to access a
* the powerdown command to a PMIC. Atomic transfers are a corner case and not * PMIC when powering down. Atomic transfers are a corner case and not for
* for generic use! * generic use!
*/ */
static inline bool i2c_in_atomic_xfer_mode(void) static inline bool i2c_in_atomic_xfer_mode(void)
{ {