commit | 0268263f0cf2239eb3a747936d8d36ef5f5e1688 | [log] [tgz] |
---|---|---|
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | Wed Aug 03 14:03:11 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Aug 15 00:55:34 2016 +0200 |
tree | b5c3e4f21892e5944416321f1db36eb1c1c0f8fd | |
parent | fea03a6ab1d8e456c0319c194150621629504f80 [diff] |
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 <daniel.wagner@bmw-carit.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>