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

12345678910111213141516171819202122232425262728293031
  1. From 199d6fd8ab2e9095b45d0258841247a21c3786b9 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] Revert "bcm2835-dma: Fix dreq not set for slave transfers"
  5. This reverts commit 8ad957e866a1fe1450f663f2b00a57d7de44904c.
  6. DMA channels are set in devicetree, thus dreq will be set,
  7. and this commit is no longer needed.
  8. Signed-off-by: Matthias Reichl <hias@horus.com>
  9. ---
  10. drivers/dma/bcm2835-dma.c | 2 --
  11. 1 file changed, 2 deletions(-)
  12. --- a/drivers/dma/bcm2835-dma.c
  13. +++ b/drivers/dma/bcm2835-dma.c
  14. @@ -679,8 +679,6 @@ static int bcm2835_dma_slave_config(stru
  15. }
  16. c->cfg = *cfg;
  17. - if (!c->dreq)
  18. - c->dreq = cfg->slave_id;
  19. return 0;
  20. }