[PATCH V3] mxs/spi: Fix misuse of init_completion
From: Mark Brown <hidden>
Date: 2012-08-27 16:37:28
Also in:
linux-spi
From: Mark Brown <hidden>
Date: 2012-08-27 16:37:28
Also in:
linux-spi
On Fri, Aug 24, 2012 at 04:56:27AM +0200, Marek Vasut wrote:
The init_completion() call does reinit not only the variable carrying the flag that the completion finished, but also initialized the waitqueue associated with the completion. On the contrary, the INIT_COMPLETION() call only reinits the flag.
Applied, thanks.