Commit 61cd2203 authored by Yong Wang's avatar Yong Wang Committed by Dan Williams

DMAENGINE: pch_dma: kill another usage of __raw_{read|write}l

Use {read|write}l instead of __raw_{read|write}l since PCH DMA
controller is PCI device.
Signed-off-by: default avatarYong Wang <yong.y.wang@intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent b9033e68
...@@ -133,9 +133,9 @@ struct pch_dma { ...@@ -133,9 +133,9 @@ struct pch_dma {
#define PCH_DMA_STS1 0x14 #define PCH_DMA_STS1 0x14
#define dma_readl(pd, name) \ #define dma_readl(pd, name) \
__raw_readl((pd)->membase + PCH_DMA_##name) readl((pd)->membase + PCH_DMA_##name)
#define dma_writel(pd, name, val) \ #define dma_writel(pd, name, val) \
__raw_writel((val), (pd)->membase + PCH_DMA_##name) writel((val), (pd)->membase + PCH_DMA_##name)
static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd) static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment