0230-Revert-bcm2835-dma-Fix-dreq-not-set-for-slave-transf.patch 726 B

1234567891011121314151617181920212223242526272829303132
  1. From 73667a3e1442c254de183d53492264b19fbe239f Mon Sep 17 00:00:00 2001
  2. From: HiassofT <github@hias.horus.com>
  3. Date: Wed, 6 Apr 2016 21:45:01 +0200
  4. Subject: [PATCH 230/381] Revert "bcm2835-dma: Fix dreq not set for slave
  5. transfers"
  6. This reverts commit 8ad957e866a1fe1450f663f2b00a57d7de44904c.
  7. DMA channels are set in devicetree, thus dreq will be set,
  8. and this commit is no longer needed.
  9. Signed-off-by: Matthias Reichl <hias@horus.com>
  10. ---
  11. drivers/dma/bcm2835-dma.c | 2 --
  12. 1 file changed, 2 deletions(-)
  13. --- a/drivers/dma/bcm2835-dma.c
  14. +++ b/drivers/dma/bcm2835-dma.c
  15. @@ -679,8 +679,6 @@ static int bcm2835_dma_slave_config(stru
  16. }
  17. c->cfg = *cfg;
  18. - if (!c->dreq)
  19. - c->dreq = cfg->slave_id;
  20. return 0;
  21. }