Commit 016cedbf authored by igalia's avatar igalia

tdc: remove warning in tdc_dma_setup. Valid for 32 bits machines and address space

Signed-off-by: 's avatarigalia <igalia@ostest.(none)>
parent 3d9ae4ff
......@@ -29,7 +29,7 @@ int tdc_dma_setup(struct spec_tdc *tdc, unsigned long src, unsigned long dst, in
/* Write the source and destination addresses */
writel(src, tdc->base + TDC_DMA_C_START_R);
writel(dst & 0x00ffffffff, tdc->base + TDC_DMA_H_START_L_R);
writel(dst >> 32, tdc->base + TDC_DMA_H_START_H_R);
//writel(dst >> 32, tdc->base + TDC_DMA_H_START_H_R);
/* Write the DMA length */
writel(size, tdc->base + TDC_DMA_LEN_R);
......
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