PD#SWPL-7778
Problem:
set tm2 vpp gain offset to 13bit
Solution:
set tm2 vpp gain offset to 13bit
Verify:
T962E2
Change-Id: I54ae9566050baeb73b7b1c94f87a3c43c76a2c62
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
m[22], 5, 3);
} else {
/*for txlx and txhd, pre_offset and post_offset become 13 bit*/
- if (is_meson_txlx_cpu() || is_meson_txhd_cpu()) {
+ if (is_meson_txlx_cpu() || is_meson_txhd_cpu() ||
+ is_meson_tm2_cpu()) {
WRITE_VPP_REG(VPP_GAINOFF_CTRL0,
((p->en << 31) & 0x80000000) |
((p->r_gain << 16) & 0x07ff0000) |