diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-09-13 07:58:43 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-14 13:32:11 (GMT) |
commit | d4c77c0532e2eceaccdeeec493b2e39666c97406 (patch) | |
tree | ee8cc78fbb9c155f5d6858914592f0c910d54e81 /drivers/dma | |
parent | 1c2e8e6b6429688e6b1096db1a89a60faaa6d8dc (diff) | |
download | linux-d4c77c0532e2eceaccdeeec493b2e39666c97406.tar.xz |
dmaengine: omap-dma: Correct type2 descriptor's member types
The type of CDEI, CSEI, CDFI and CSFI is signed.
This did not caused issue so far as we only use unsigned values.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/omap-dma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index aef5201..1b7f5f3 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c @@ -71,10 +71,10 @@ struct omap_type2_desc { uint32_t addr; /* src or dst */ uint16_t fn; uint16_t cicr; - uint16_t cdei; - uint16_t csei; - uint32_t cdfi; - uint32_t csfi; + int16_t cdei; + int16_t csei; + int32_t cdfi; + int32_t csfi; } __packed; struct omap_sg { |