diff options
author | Jason Chen <b02280@freescale.com> | 2011-07-25 13:25:23 +0800 |
---|---|---|
committer | Pedro Perez de Heredia <pedro.perez@digi.com> | 2011-12-21 13:43:27 +0100 |
commit | d0e944dd644457de0c89042db208f6f5005dc66c (patch) | |
tree | 33dc698993d8284504b5787a1a32026c5f554821 /drivers | |
parent | 3cacba09e04f31277f08e08d55f6117202a38f56 (diff) |
ENGR00153578 tve-vga: set vga output gain to improve quality
set vga output gain to improve quality.
Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mxc/tve.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/mxc/tve.c b/drivers/video/mxc/tve.c index e57eb88689b0..701494aae0db 100644 --- a/drivers/video/mxc/tve.c +++ b/drivers/video/mxc/tve.c @@ -475,13 +475,13 @@ static int tve_setup_vga(void) if (tve.revision == 2) { /* set gain */ reg = __raw_readl(tve.base + tve_regs->tve_tvdac_cont_reg); - reg = (reg & ~TVEV2_DAC_GAIN_MASK) | 0; + reg = (reg & ~TVEV2_DAC_GAIN_MASK) | 0xa; __raw_writel(reg, tve.base + tve_regs->tve_tvdac_cont_reg); reg = __raw_readl(tve.base + tve_regs->tve_tvdac_cont_reg + 4); - reg = (reg & ~TVEV2_DAC_GAIN_MASK) | 0; + reg = (reg & ~TVEV2_DAC_GAIN_MASK) | 0xa; __raw_writel(reg, tve.base + tve_regs->tve_tvdac_cont_reg + 4); reg = __raw_readl(tve.base + tve_regs->tve_tvdac_cont_reg + 8); - reg = (reg & ~TVEV2_DAC_GAIN_MASK) | 0; + reg = (reg & ~TVEV2_DAC_GAIN_MASK) | 0xa; __raw_writel(reg, tve.base + tve_regs->tve_tvdac_cont_reg + 8); /* set tve_com_conf_reg */ |