]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi: qup: Fix transaction done signaling
authorAndy Gross <andy.gross@linaro.org>
Sat, 30 Jan 2016 04:06:50 +0000 (22:06 -0600)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Mon, 23 May 2016 21:55:58 +0000 (23:55 +0200)
commite3c558ac44c8c66501ab93892e5428c811bbc589
treea8d48fbb8abc87bf5f2173bb9821f2e9bd972344
parent4b6bbd9e1a8f13d6ebf59e648687f8c66d4145b8
spi: qup: Fix transaction done signaling

Wait to signal done until we get all of the interrupts we are expecting
to get for a transaction.  If we don't wait for the input done flag, we
can be inbetween transactions when the done flag comes in and this can
mess up the next transaction.

CC: Grant Grundler <grundler@chromium.org>
CC: Sarthak Kukreti <skukreti@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/spi/spi-qup.c