summaryrefslogtreecommitdiffstats
path: root/drivers/ide/opti621.c
diff options
context:
space:
mode:
authorVaradarajan Narayanan <varada@codeaurora.org>2017-07-28 08:52:53 +0200
committerMark Brown <broonie@kernel.org>2017-08-08 13:15:22 +0200
commitce7dfc71c1123a4bc7ddc628fc759ede0f58a2fe (patch)
tree546932c612ef848edab4fd8fe0ed74891a092efb /drivers/ide/opti621.c
parentspi: qup: Fix error handling in spi_qup_prep_sg (diff)
downloadlinux-ce7dfc71c1123a4bc7ddc628fc759ede0f58a2fe.tar.xz
linux-ce7dfc71c1123a4bc7ddc628fc759ede0f58a2fe.zip
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 in between transactions when the done flag comes in and this can mess up the next transaction. While here cleaning up the code which sets controller->xfer = NULL and restores it in the ISR. This looks to be some debug code which is not required. Signed-off-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/ide/opti621.c')
0 files changed, 0 insertions, 0 deletions