Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337065
b: refs/heads/master
c: 8025628
h: refs/heads/master
i:
  337063: dc9dbd5
v: v3
  • Loading branch information
Andres Salomon authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 4e05907 commit d2d9fe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e412a0a581e07cf1551bbd9b4ae69654e474a3c
refs/heads/master: 802562807af61fc8b6f830725e127bf53e0a7f1c
12 changes: 2 additions & 10 deletions trunk/drivers/staging/olpc_dcon/olpc_dcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
static ushort resumeline = 898;
module_param(resumeline, ushort, 0444);

/* Default off since it doesn't work on DCON ASIC in B-test OLPC board */
static int useaa = 1;
module_param(useaa, int, 0444);

static struct dcon_platform_data *pdata;

/* I2C structures */
Expand Down Expand Up @@ -103,9 +99,7 @@ static int dcon_hw_init(struct dcon_priv *dcon, int is_init)
/* Colour swizzle, AA, no passthrough, backlight */
if (is_init) {
dcon->disp_mode = MODE_PASSTHRU | MODE_BL_ENABLE |
MODE_CSWIZZLE;
if (useaa)
dcon->disp_mode |= MODE_COL_AA;
MODE_CSWIZZLE | MODE_COL_AA;
}
dcon_write(dcon, DCON_REG_MODE, dcon->disp_mode);

Expand Down Expand Up @@ -191,9 +185,7 @@ static int dcon_set_mono_mode(struct dcon_priv *dcon, bool enable_mono)
dcon->disp_mode |= MODE_MONO_LUMA;
} else {
dcon->disp_mode &= ~(MODE_MONO_LUMA);
dcon->disp_mode |= MODE_CSWIZZLE;
if (useaa)
dcon->disp_mode |= MODE_COL_AA;
dcon->disp_mode |= MODE_CSWIZZLE | MODE_COL_AA;
}

dcon_write(dcon, DCON_REG_MODE, dcon->disp_mode);
Expand Down

0 comments on commit d2d9fe4

Please sign in to comment.