staging: sm750fb: remove spacing after open parenthesis
Fixes checkpatch.pl warning: ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Juston Li <juston.h.li@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
78376535c2
commit
7f0ebcc290
3 changed files with 8 additions and 8 deletions
|
@ -599,9 +599,9 @@ unsigned int formatPllReg(pll_value_t *pPLL)
|
||||||
On returning a 32 bit number, the value can be applied to any PLL in the calling function.
|
On returning a 32 bit number, the value can be applied to any PLL in the calling function.
|
||||||
*/
|
*/
|
||||||
ulPllReg =
|
ulPllReg =
|
||||||
FIELD_SET( 0, PANEL_PLL_CTRL, BYPASS, OFF)
|
FIELD_SET(0, PANEL_PLL_CTRL, BYPASS, OFF)
|
||||||
| FIELD_SET( 0, PANEL_PLL_CTRL, POWER, ON)
|
| FIELD_SET(0, PANEL_PLL_CTRL, POWER, ON)
|
||||||
| FIELD_SET( 0, PANEL_PLL_CTRL, INPUT, OSC)
|
| FIELD_SET(0, PANEL_PLL_CTRL, INPUT, OSC)
|
||||||
#ifndef VALIDATION_CHIP
|
#ifndef VALIDATION_CHIP
|
||||||
| FIELD_VALUE(0, PANEL_PLL_CTRL, POD, pPLL->POD)
|
| FIELD_VALUE(0, PANEL_PLL_CTRL, POD, pPLL->POD)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -43,7 +43,7 @@ static unsigned long displayControlAdjust_SM750LE(mode_parameter_t *pModeParam,
|
||||||
|
|
||||||
/* Set bit 29:27 of display control register for the right clock */
|
/* Set bit 29:27 of display control register for the right clock */
|
||||||
/* Note that SM750LE only need to supported 7 resoluitons. */
|
/* Note that SM750LE only need to supported 7 resoluitons. */
|
||||||
if ( x == 800 && y == 600 )
|
if (x == 800 && y == 600 )
|
||||||
dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL41);
|
dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL41);
|
||||||
else if (x == 1024 && y == 768)
|
else if (x == 1024 && y == 768)
|
||||||
dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL65);
|
dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL65);
|
||||||
|
|
|
@ -59,17 +59,17 @@ void setPowerMode(unsigned int powerMode)
|
||||||
{
|
{
|
||||||
control_value =
|
control_value =
|
||||||
#ifdef VALIDATION_CHIP
|
#ifdef VALIDATION_CHIP
|
||||||
FIELD_SET( control_value, POWER_MODE_CTRL, 336CLK, OFF) |
|
FIELD_SET(control_value, POWER_MODE_CTRL, 336CLK, OFF) |
|
||||||
#endif
|
#endif
|
||||||
FIELD_SET( control_value, POWER_MODE_CTRL, OSC_INPUT, OFF);
|
FIELD_SET(control_value, POWER_MODE_CTRL, OSC_INPUT, OFF);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
control_value =
|
control_value =
|
||||||
#ifdef VALIDATION_CHIP
|
#ifdef VALIDATION_CHIP
|
||||||
FIELD_SET( control_value, POWER_MODE_CTRL, 336CLK, ON) |
|
FIELD_SET(control_value, POWER_MODE_CTRL, 336CLK, ON) |
|
||||||
#endif
|
#endif
|
||||||
FIELD_SET( control_value, POWER_MODE_CTRL, OSC_INPUT, ON);
|
FIELD_SET(control_value, POWER_MODE_CTRL, OSC_INPUT, ON);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Program new power mode. */
|
/* Program new power mode. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue