When setup csi ic mem on the fly channel, the capture output buffer is
initialized with hard coded dummy address 0xdeadbeaf
This also causes IPU warning when use this channel:
imx-ipuv3 imx-ipuv3.0: IDMAC20's EBA0 is not 8-byte aligned
- use the pre-allocated dummy_frame.vaddress instead of 0xdeadbeaf
Signed-off-by: Sheng Nan <b38800@freescale.com>
{
ipu_channel_params_t enc;
int err = 0;
- dma_addr_t dummy = 0xdeadbeaf;
+ dma_addr_t dummy = cam->dummy_frame.buffer.m.offset;
#ifdef CONFIG_MXC_MIPI_CSI2
void *mipi_csi2_info;
int ipu_id;