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
60e04a5c
Commit
60e04a5c
authored
Jun 15, 2006
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull ec into release branch
parents
61fb46c5
ff2fc3e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
drivers/acpi/ec.c
drivers/acpi/ec.c
+6
-10
No files found.
drivers/acpi/ec.c
View file @
60e04a5c
...
...
@@ -990,7 +990,6 @@ static int acpi_ec_poll_add(struct acpi_device *device)
int
result
=
0
;
acpi_status
status
=
AE_OK
;
union
acpi_ec
*
ec
=
NULL
;
unsigned
long
uid
;
ACPI_FUNCTION_TRACE
(
"acpi_ec_add"
);
...
...
@@ -1013,10 +1012,9 @@ static int acpi_ec_poll_add(struct acpi_device *device)
acpi_evaluate_integer
(
ec
->
common
.
handle
,
"_GLK"
,
NULL
,
&
ec
->
common
.
global_lock
);
/* If our UID matches the UID for the ECDT-enumerated EC,
we now have the *real* EC info, so kill the makeshift one. */
acpi_evaluate_integer
(
ec
->
common
.
handle
,
"_UID"
,
NULL
,
&
uid
);
if
(
ec_ecdt
&&
ec_ecdt
->
common
.
uid
==
uid
)
{
/* XXX we don't test uids, because on some boxes ecdt uid = 0, see:
http://bugzilla.kernel.org/show_bug.cgi?id=6111 */
if
(
ec_ecdt
)
{
acpi_remove_address_space_handler
(
ACPI_ROOT_OBJECT
,
ACPI_ADR_SPACE_EC
,
&
acpi_ec_space_handler
);
...
...
@@ -1061,7 +1059,6 @@ static int acpi_ec_intr_add(struct acpi_device *device)
int
result
=
0
;
acpi_status
status
=
AE_OK
;
union
acpi_ec
*
ec
=
NULL
;
unsigned
long
uid
;
ACPI_FUNCTION_TRACE
(
"acpi_ec_add"
);
...
...
@@ -1087,10 +1084,9 @@ static int acpi_ec_intr_add(struct acpi_device *device)
acpi_evaluate_integer
(
ec
->
common
.
handle
,
"_GLK"
,
NULL
,
&
ec
->
common
.
global_lock
);
/* If our UID matches the UID for the ECDT-enumerated EC,
we now have the *real* EC info, so kill the makeshift one. */
acpi_evaluate_integer
(
ec
->
common
.
handle
,
"_UID"
,
NULL
,
&
uid
);
if
(
ec_ecdt
&&
ec_ecdt
->
common
.
uid
==
uid
)
{
/* XXX we don't test uids, because on some boxes ecdt uid = 0, see:
http://bugzilla.kernel.org/show_bug.cgi?id=6111 */
if
(
ec_ecdt
)
{
acpi_remove_address_space_handler
(
ACPI_ROOT_OBJECT
,
ACPI_ADR_SPACE_EC
,
&
acpi_ec_space_handler
);
...
...
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