diff options
| author | Daniel Wagner <[email protected]> | 2016-08-03 12:03:11 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2016-08-14 22:55:34 +0000 |
| commit | 0268263f0cf2239eb3a747936d8d36ef5f5e1688 (patch) | |
| tree | b5c3e4f21892e5944416321f1db36eb1c1c0f8fd /lib/dma-debug.c | |
| parent | i2c: brcmstb: Use complete() instead of complete_all() (diff) | |
| download | kernel-0268263f0cf2239eb3a747936d8d36ef5f5e1688.tar.gz kernel-0268263f0cf2239eb3a747936d8d36ef5f5e1688.zip | |
i2c: meson: Use complete() instead of complete_all()
There is only one waiter for the completion, therefore there
is no need to use complete_all(). Let's make that clear by
using complete() instead of complete_all().
The usage pattern of the completion is:
meson_i2c_xfer_msg()
reinit_completion()
...
/* Start the transfer */
...
wait_for_completion_timeout()
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
