diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-03-18 15:24:51 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-04-13 18:06:15 +0200 |
commit | 5e09f98e77e9bd500e3d930bfd46b1924cca01ca (patch) | |
tree | e03f773e0363e93b40b42d2857c38c4cbdda5252 /drivers/dma/dw/regs.h | |
parent | dmaengine: dw: define counter variables as unsigned int (diff) | |
download | linux-5e09f98e77e9bd500e3d930bfd46b1924cca01ca.tar.xz linux-5e09f98e77e9bd500e3d930bfd46b1924cca01ca.zip |
dmaengine: dw: move dwc->paused to dwc->flags
We have already dedicated variable for flags, therefore no need to create an
additional storage for that. Convert dwc->paused to use dwc->flags.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw/regs.h')
-rw-r--r-- | drivers/dma/dw/regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dw/regs.h b/drivers/dma/dw/regs.h index feb3a4a7623b..94f8f62ff884 100644 --- a/drivers/dma/dw/regs.h +++ b/drivers/dma/dw/regs.h @@ -216,6 +216,7 @@ enum dw_dma_msize { enum dw_dmac_flags { DW_DMA_IS_CYCLIC = 0, DW_DMA_IS_SOFT_LLP = 1, + DW_DMA_IS_PAUSED = 2, }; struct dw_dma_chan { @@ -224,7 +225,6 @@ struct dw_dma_chan { u8 mask; u8 priority; enum dma_transfer_direction direction; - bool paused; bool initialized; /* software emulation of the LLP transfers */ |