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
0fbb3726
Commit
0fbb3726
authored
Oct 22, 2008
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ec' into test
parents
47bf31ad
c0ff1772
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
198 additions
and
187 deletions
+198
-187
drivers/acpi/bus.c
drivers/acpi/bus.c
+6
-0
drivers/acpi/ec.c
drivers/acpi/ec.c
+191
-183
drivers/acpi/scan.c
drivers/acpi/scan.c
+0
-4
include/acpi/acpi_drivers.h
include/acpi/acpi_drivers.h
+1
-0
No files found.
drivers/acpi/bus.c
View file @
0fbb3726
...
@@ -793,6 +793,12 @@ static int __init acpi_bus_init(void)
...
@@ -793,6 +793,12 @@ static int __init acpi_bus_init(void)
goto
error1
;
goto
error1
;
}
}
/*
* Maybe EC region is required at bus_scan/acpi_get_devices. So it
* is necessary to enable it as early as possible.
*/
acpi_boot_ec_enable
();
printk
(
KERN_INFO
PREFIX
"Interpreter enabled
\n
"
);
printk
(
KERN_INFO
PREFIX
"Interpreter enabled
\n
"
);
/* Initialize sleep structures */
/* Initialize sleep structures */
...
...
drivers/acpi/ec.c
View file @
0fbb3726
This diff is collapsed.
Click to expand it.
drivers/acpi/scan.c
View file @
0fbb3726
...
@@ -1565,7 +1565,6 @@ static int acpi_bus_scan_fixed(struct acpi_device *root)
...
@@ -1565,7 +1565,6 @@ static int acpi_bus_scan_fixed(struct acpi_device *root)
return
result
;
return
result
;
}
}
int
__init
acpi_boot_ec_enable
(
void
);
static
int
__init
acpi_scan_init
(
void
)
static
int
__init
acpi_scan_init
(
void
)
{
{
...
@@ -1599,9 +1598,6 @@ static int __init acpi_scan_init(void)
...
@@ -1599,9 +1598,6 @@ static int __init acpi_scan_init(void)
*/
*/
result
=
acpi_bus_scan_fixed
(
acpi_root
);
result
=
acpi_bus_scan_fixed
(
acpi_root
);
/* EC region might be needed at bus_scan, so enable it now */
acpi_boot_ec_enable
();
if
(
!
result
)
if
(
!
result
)
result
=
acpi_bus_scan
(
acpi_root
,
&
ops
);
result
=
acpi_bus_scan
(
acpi_root
,
&
ops
);
...
...
include/acpi/acpi_drivers.h
View file @
0fbb3726
...
@@ -101,6 +101,7 @@ extern int acpi_power_nocheck;
...
@@ -101,6 +101,7 @@ extern int acpi_power_nocheck;
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
#ifdef CONFIG_ACPI_EC
#ifdef CONFIG_ACPI_EC
int
acpi_ec_ecdt_probe
(
void
);
int
acpi_ec_ecdt_probe
(
void
);
int
acpi_boot_ec_enable
(
void
);
#endif
#endif
/* --------------------------------------------------------------------------
/* --------------------------------------------------------------------------
...
...
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