summaryrefslogtreecommitdiff
path: root/drivers/ati_radeon_fb.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-06 02:17:36 +0200
committerWolfgang Denk <wd@denx.de>2007-08-06 02:17:36 +0200
commit9c7e4b06214db61bb21f1bcbe57c97519669baae (patch)
tree699504f6b803a5413e9baeb8e27c29c0937ed797 /drivers/ati_radeon_fb.c
parent221838cc7eb178370ff62aa05920a582e12ac322 (diff)
downloadu-boot-imx-9c7e4b06214db61bb21f1bcbe57c97519669baae.zip
u-boot-imx-9c7e4b06214db61bb21f1bcbe57c97519669baae.tar.gz
u-boot-imx-9c7e4b06214db61bb21f1bcbe57c97519669baae.tar.bz2
Coding style cleanup. Update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/ati_radeon_fb.c')
-rw-r--r--drivers/ati_radeon_fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ati_radeon_fb.c b/drivers/ati_radeon_fb.c
index e15140a..c174f37 100644
--- a/drivers/ati_radeon_fb.c
+++ b/drivers/ati_radeon_fb.c
@@ -137,7 +137,7 @@ static void radeon_identify_vram(struct radeonfb_info *rinfo)
}
} else {
tmp = INREG(CONFIG_MEMSIZE);
- }
+ }
/* mem size is bits [28:0], mask off the rest */
rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK;
@@ -209,13 +209,13 @@ static void radeon_write_pll_regs(struct radeonfb_info *rinfo, struct radeon_reg
#if 0
/* Workaround from XFree */
if (rinfo->is_mobility) {
- /* A temporal workaround for the occational blanking on certain laptop
+ /* A temporal workaround for the occational blanking on certain laptop
* panels. This appears to related to the PLL divider registers
* (fail to lock?). It occurs even when all dividers are the same
* with their old settings. In this case we really don't need to
* fiddle with PLL registers. By doing this we can avoid the blanking
* problem with some panels.
- */
+ */
if ((mode->ppll_ref_div == (INPLL(PPLL_REF_DIV) & PPLL_REF_DIV_MASK)) &&
(mode->ppll_div_3 == (INPLL(PPLL_DIV_3) &
(PPLL_POST3_DIV_MASK | PPLL_FB3_DIV_MASK)))) {