summaryrefslogtreecommitdiffstats
path: root/kernel/exec_domain.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-03-06 14:42:01 +0200
committerMark Brown <broonie@kernel.org>2015-03-07 11:22:02 +0000
commit854d2f241d71f6ca08ccde30e6c7c2e403363e52 (patch)
tree28b2c40697eb3e3e316021541793ed646d177f69 /kernel/exec_domain.c
parentc9dafb27c84412fe4b17c3b94cc4ffeef5df1833 (diff)
downloadblackbird-op-linux-854d2f241d71f6ca08ccde30e6c7c2e403363e52.tar.gz
blackbird-op-linux-854d2f241d71f6ca08ccde30e6c7c2e403363e52.zip
spi: dw-mid: clear BUSY flag fist and test other one
The logic of DMA completion is broken now since test_and_clear_bit() never returns the other bit is set. It means condition are always false and we have spi_finalize_current_transfer() called per each DMA completion which is wrong. The patch fixes logic by clearing BUSY bit first and then check for the other one. Fixes: 30c8eb52cc4a (spi: dw-mid: split rx and tx callbacks when DMA) Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'kernel/exec_domain.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud