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:
parent
5c71ca4d4f
commit
df7b4d6f7d
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue