diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-07-09 13:25:37 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-07-16 16:00:46 +0300 |
commit | 03734485b71129a954861f298825a490bcade986 (patch) | |
tree | c49f64ac63e13dc5ed0bc88fa33601c6e840921f /drivers/dma/hsu/hsu.h | |
parent | b6c52c634506d52b3a2dc18503980d717e478739 (diff) | |
download | linux-03734485b71129a954861f298825a490bcade986.tar.xz |
dmaengine: hsu: remove excessive lock
All hardware accesses are done under virtual channel lock. That's why specific
channel lock is excessive and can be removed safely. This has been tested on
Intel Medfield and Merrifield.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/hsu/hsu.h')
-rw-r--r-- | drivers/dma/hsu/hsu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/hsu/hsu.h b/drivers/dma/hsu/hsu.h index 0275233cf550..eeb9fff66967 100644 --- a/drivers/dma/hsu/hsu.h +++ b/drivers/dma/hsu/hsu.h @@ -78,7 +78,6 @@ struct hsu_dma_chan { struct virt_dma_chan vchan; void __iomem *reg; - spinlock_t lock; /* hardware configuration */ enum dma_transfer_direction direction; |