Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Documentation: mailbox: mbox_chan_ops.flush() is optional

When the optional .flush() method was added to the mbox_chan structure,
the documentation was not updated.

Fixes: a8803d7421cc2be2 ("mailbox: Support blocking transfers in atomic context")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <6a50a5d4f0d0da26e5cccf348550879e53792e6e.1764861174.git.geert+renesas@glider.be>

authored by

Geert Uytterhoeven and committed by
Jonathan Corbet
135739a2 7508b208

+1 -1
+1 -1
Documentation/driver-api/mailbox.rst
··· 27 27 28 28 29 29 Allocate mbox_controller and the array of mbox_chan. 30 - Populate mbox_chan_ops, except peek_data() all are mandatory. 30 + Populate mbox_chan_ops, except flush() and peek_data() all are mandatory. 31 31 The controller driver might know a message has been consumed 32 32 by the remote by getting an IRQ or polling some hardware flag 33 33 or it can never know (the client knows by way of the protocol).