Skip to content

Commit

Permalink
staging: sm750fb: Correctly set CLOCK_PHASE bit of display controller.
Browse files Browse the repository at this point in the history
Commit 6fba39c ("staging: sm750fb: use BIT macro for
PANEL_DISPLAY_CTRL single-bit fields") accidentally changed the
CLOCK_PHASE logic from '|=' to '=' which clears all the previously set
bits.

Fixes: 6fba39c ("staging: sm750fb: use BIT macro for PANEL_DISPLAY_CTRL single-bit fields")
Signed-off-by: Phil Turnbull <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Phil Turnbull authored and gregkh committed Sep 12, 2016
1 parent 7779531 commit 992f961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sm750fb/ddk750_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static unsigned long displayControlAdjust_SM750LE(mode_parameter_t *pModeParam,
dispControl |= (CRT_DISPLAY_CTRL_CRTSELECT | CRT_DISPLAY_CTRL_RGBBIT);

/* Set bit 14 of display controller */
dispControl = DISPLAY_CTRL_CLOCK_PHASE;
dispControl |= DISPLAY_CTRL_CLOCK_PHASE;

POKE32(CRT_DISPLAY_CTRL, dispControl);

Expand Down

0 comments on commit 992f961

Please sign in to comment.