Commit c9d67dc4 authored by yeongjun Kim's avatar yeongjun Kim Committed by Greg Kroah-Hartman

staging: sm750fb: fix block comments errors in ddk750_display.c

WARNING: Block comments use * on subsequent lines
WARNING: Block comments use a trailing */ on a separate line
WARNING: Block comments use * on subsequent lines
WARNING: Block comments use a trailing */ on a separate line
Signed-off-by: default avataryeongjun Kim <iam.yeongjunkim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d943005a
...@@ -68,8 +68,10 @@ static void waitNextVerticalSync(int ctrl, int delay) ...@@ -68,8 +68,10 @@ static void waitNextVerticalSync(int ctrl, int delay)
if (!ctrl) { if (!ctrl) {
/* primary controller */ /* primary controller */
/* Do not wait when the Primary PLL is off or display control is already off. /*
This will prevent the software to wait forever. */ * Do not wait when the Primary PLL is off or display control is
* already off. This will prevent the software to wait forever.
*/
if (!(PEEK32(PANEL_PLL_CTRL) & PLL_CTRL_POWER) || if (!(PEEK32(PANEL_PLL_CTRL) & PLL_CTRL_POWER) ||
!(PEEK32(PANEL_DISPLAY_CTRL) & DISPLAY_CTRL_TIMING)) { !(PEEK32(PANEL_DISPLAY_CTRL) & DISPLAY_CTRL_TIMING)) {
return; return;
...@@ -88,9 +90,10 @@ static void waitNextVerticalSync(int ctrl, int delay) ...@@ -88,9 +90,10 @@ static void waitNextVerticalSync(int ctrl, int delay)
} }
} else { } else {
/*
/* Do not wait when the Primary PLL is off or display control is already off. * Do not wait when the Primary PLL is off or display control is
This will prevent the software to wait forever. */ * already off. This will prevent the software to wait forever.
*/
if (!(PEEK32(CRT_PLL_CTRL) & PLL_CTRL_POWER) || if (!(PEEK32(CRT_PLL_CTRL) & PLL_CTRL_POWER) ||
!(PEEK32(CRT_DISPLAY_CTRL) & DISPLAY_CTRL_TIMING)) { !(PEEK32(CRT_DISPLAY_CTRL) & DISPLAY_CTRL_TIMING)) {
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment