Commit 9b8552f6 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

comments about buf_ptr

parent 25f4cb20
...@@ -133,6 +133,7 @@ int init_ccam_dma_buf_ptr(struct platform_device *pdev) ...@@ -133,6 +133,7 @@ int init_ccam_dma_buf_ptr(struct platform_device *pdev)
} }
} }
// TODO: take data from pElphel_buf (calc buf_ptr for each channel)
for (i = 0; i < SENSOR_PORTS; i++) { for (i = 0; i < SENSOR_PORTS; i++) {
// nobody knows what the 1st 1MB is for... // nobody knows what the 1st 1MB is for...
circbuf_priv[i].buf_ptr = dma_buf_ptr + BYTE2DW(CIRCBUF_START_OFFSET + i * CCAM_DMA_SIZE); circbuf_priv[i].buf_ptr = dma_buf_ptr + BYTE2DW(CIRCBUF_START_OFFSET + i * CCAM_DMA_SIZE);
......
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