提交 df7b4d6f 编写于 作者: W Wolfram Sang 提交者: Wolfram Sang

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: NMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: NWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: NWolfram Sang <wsa@kernel.org>
上级 5c71ca4d
...@@ -23,9 +23,9 @@ int i2c_dev_irq_from_resources(const struct resource *resources, ...@@ -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)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册