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

comments about buf_ptr

parent 25f4cb20
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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++) {
		// nobody knows what the 1st 1MB is for...
		circbuf_priv[i].buf_ptr = dma_buf_ptr + BYTE2DW(CIRCBUF_START_OFFSET + i * CCAM_DMA_SIZE);