summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2011-07-25 13:25:23 +0800
committerPedro Perez de Heredia <pedro.perez@digi.com>2011-12-21 13:43:27 +0100
commitd0e944dd644457de0c89042db208f6f5005dc66c (patch)
tree33dc698993d8284504b5787a1a32026c5f554821 /drivers
parent3cacba09e04f31277f08e08d55f6117202a38f56 (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.c6
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 */