Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
b09de420
Commit
b09de420
authored
Apr 08, 2009
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mx3fb: Fix compilation with CONFIG_PM
Signed-off-by:
Sascha Hauer
<
s.hauer@pengutronix.de
>
parent
7b9020ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
drivers/video/mx3fb.c
drivers/video/mx3fb.c
+7
-7
No files found.
drivers/video/mx3fb.c
View file @
b09de420
...
...
@@ -1152,11 +1152,11 @@ static struct fb_ops mx3fb_ops = {
*/
static
int
mx3fb_suspend
(
struct
platform_device
*
pdev
,
pm_message_t
state
)
{
struct
mx3fb_data
*
drv_data
=
platform_get_drvdata
(
pdev
);
struct
mx3fb_info
*
mx3_fbi
=
drv_data
->
fbi
->
par
;
struct
mx3fb_data
*
mx3fb
=
platform_get_drvdata
(
pdev
);
struct
mx3fb_info
*
mx3_fbi
=
mx3fb
->
fbi
->
par
;
acquire_console_sem
();
fb_set_suspend
(
drv_data
->
fbi
,
1
);
fb_set_suspend
(
mx3fb
->
fbi
,
1
);
release_console_sem
();
if
(
mx3_fbi
->
blank
==
FB_BLANK_UNBLANK
)
{
...
...
@@ -1172,16 +1172,16 @@ static int mx3fb_suspend(struct platform_device *pdev, pm_message_t state)
*/
static
int
mx3fb_resume
(
struct
platform_device
*
pdev
)
{
struct
mx3fb_data
*
drv_data
=
platform_get_drvdata
(
pdev
);
struct
mx3fb_info
*
mx3_fbi
=
drv_data
->
fbi
->
par
;
struct
mx3fb_data
*
mx3fb
=
platform_get_drvdata
(
pdev
);
struct
mx3fb_info
*
mx3_fbi
=
mx3fb
->
fbi
->
par
;
if
(
mx3_fbi
->
blank
==
FB_BLANK_UNBLANK
)
{
sdc_enable_channel
(
mx3_fbi
);
sdc_set_brightness
(
mx3fb
,
drv_data
->
backlight_level
);
sdc_set_brightness
(
mx3fb
,
mx3fb
->
backlight_level
);
}
acquire_console_sem
();
fb_set_suspend
(
drv_data
->
fbi
,
0
);
fb_set_suspend
(
mx3fb
->
fbi
,
0
);
release_console_sem
();
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment