diff options
author | 2020-05-05 18:01:01 +0200 | |
---|---|---|
committer | 2020-05-20 15:25:55 +0200 | |
commit | df7b4d6f7d5fff53d4dcf8d972f331dbbb7d49e0 (patch) | |
tree | 9850629432cb2bce6a21b3c7d85ce52ab26977dc /drivers/i2c | |
parent | i2c: slave-eeprom: add support for 24c512 EEPROMs (diff) | |
download | linux-df7b4d6f7d5fff53d4dcf8d972f331dbbb7d49e0.tar.gz linux-df7b4d6f7d5fff53d4dcf8d972f331dbbb7d49e0.tar.bz2 linux-df7b4d6f7d5fff53d4dcf8d972f331dbbb7d49e0.zip |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/i2c-core.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/i2c-core.h b/drivers/i2c/i2c-core.h index 517d98be68d2..94ff1693b391 100644 --- a/drivers/i2c/i2c-core.h +++ b/drivers/i2c/i2c-core.h @@ -23,9 +23,9 @@ int i2c_dev_irq_from_resources(const struct resource *resources, unsigned int num_resources); /* - * We only allow atomic transfers for very late communication, e.g. to send - * the powerdown command to a PMIC. Atomic transfers are a corner case and not - * for generic use! + * We only allow atomic transfers for very late communication, e.g. to access a + * PMIC when powering down. Atomic transfers are a corner case and not for + * generic use! */ static inline bool i2c_in_atomic_xfer_mode(void) { |