PD#TV-2263
Problem:
vdin histgram error on tl1
Solution:
tl1 use TVIN_PORT_VIU1_WB0_VPP
Verify:
verify on tl1
Change-Id: I225a85a1debee0e8c42f60751524661fc5c986bd
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
return -EFAULT;
}
memset(¶m, 0, sizeof(struct vdin_parm_s));
- param.port = TVIN_PORT_VIU1;
+ if (is_meson_tl1_cpu())
+ param.port = TVIN_PORT_VIU1_WB0_VPP;
+ else
+ param.port = TVIN_PORT_VIU1;
param.reserved |= PARAM_STATE_HISTGRAM;
param.h_active = vdin_v4l2_param.width;
param.v_active = vdin_v4l2_param.height;