Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9614d5d0
Commit
9614d5d0
authored
Jun 22, 2004
by
Len Brown
Committed by
Len Brown
Jun 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] update EC GPE handler to new ACPICA handler type
parent
24ee1096
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
drivers/acpi/ec.c
drivers/acpi/ec.c
+7
-2
No files found.
drivers/acpi/ec.c
View file @
9614d5d0
...
...
@@ -381,7 +381,7 @@ acpi_ec_gpe_query (
acpi_enable_gpe
(
NULL
,
ec
->
gpe_bit
,
ACPI_NOT_ISR
);
}
static
void
static
u32
acpi_ec_gpe_handler
(
void
*
data
)
{
...
...
@@ -389,12 +389,17 @@ acpi_ec_gpe_handler (
struct
acpi_ec
*
ec
=
(
struct
acpi_ec
*
)
data
;
if
(
!
ec
)
return
;
return
ACPI_INTERRUPT_NOT_HANDLED
;
acpi_disable_gpe
(
NULL
,
ec
->
gpe_bit
,
ACPI_ISR
);
status
=
acpi_os_queue_for_execution
(
OSD_PRIORITY_GPE
,
acpi_ec_gpe_query
,
ec
);
if
(
status
==
AE_OK
)
return
ACPI_INTERRUPT_HANDLED
;
else
return
ACPI_INTERRUPT_NOT_HANDLED
;
}
/* --------------------------------------------------------------------------
...
...
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