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>
This commit is contained in:

committed by
Vinod Koul

parent
7794e5b920
commit
5e09f98e77
@@ -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 */
|
||||
|
Reference in New Issue
Block a user