瀏覽代碼

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>
Peter Ujfalusi 9 年之前
父節點
當前提交
d4c77c0532
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      drivers/dma/omap-dma.c

+ 4 - 4
drivers/dma/omap-dma.c

@@ -71,10 +71,10 @@ struct omap_type2_desc {
 	uint32_t addr; /* src or dst */
 	uint32_t addr; /* src or dst */
 	uint16_t fn;
 	uint16_t fn;
 	uint16_t cicr;
 	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;
 } __packed;
 
 
 struct omap_sg {
 struct omap_sg {