mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-03 11:43:03 +09:00
tvin: vdin: fix vdin histgram error on tl1 [1/1]
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>
This commit is contained in:
@@ -2486,7 +2486,10 @@ static long vdin_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user