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
nexedi
linux
Commits
afe244f6
Commit
afe244f6
authored
Dec 23, 2004
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge intel.com:/home/lenb/src/26-stable-dev
into intel.com:/home/lenb/src/26-latest-dev
parents
dac0b80e
2780cc46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
21 deletions
+2
-21
drivers/acpi/hardware/hwsleep.c
drivers/acpi/hardware/hwsleep.c
+0
-16
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+2
-5
No files found.
drivers/acpi/hardware/hwsleep.c
View file @
afe244f6
...
...
@@ -282,15 +282,6 @@ acpi_enter_sleep_state (
return_ACPI_STATUS
(
status
);
}
if
(
sleep_state
!=
ACPI_STATE_S5
)
{
/* Disable BM arbitration */
status
=
acpi_set_register
(
ACPI_BITREG_ARB_DISABLE
,
1
,
ACPI_MTX_DO_NOT_LOCK
);
if
(
ACPI_FAILURE
(
status
))
{
return_ACPI_STATUS
(
status
);
}
}
/*
* 1) Disable/Clear all GPEs
* 2) Enable all wakeup GPEs
...
...
@@ -581,13 +572,6 @@ acpi_leave_sleep_state (
(
void
)
acpi_set_register
(
acpi_gbl_fixed_event_info
[
ACPI_EVENT_POWER_BUTTON
].
status_register_id
,
1
,
ACPI_MTX_DO_NOT_LOCK
);
/* Enable BM arbitration */
status
=
acpi_set_register
(
ACPI_BITREG_ARB_DISABLE
,
0
,
ACPI_MTX_LOCK
);
if
(
ACPI_FAILURE
(
status
))
{
return_ACPI_STATUS
(
status
);
}
arg
.
integer
.
value
=
ACPI_SST_WORKING
;
status
=
acpi_evaluate_object
(
NULL
,
METHOD_NAME__SST
,
&
arg_list
,
NULL
);
if
(
ACPI_FAILURE
(
status
)
&&
status
!=
AE_NOT_FOUND
)
{
...
...
drivers/acpi/pci_irq.c
View file @
afe244f6
...
...
@@ -197,7 +197,7 @@ acpi_pci_irq_add_prt (
* (either a PCI root bridge or PCI-PCI bridge).
*/
buffer
.
length
=
sizeof
(
pathname
)
;
buffer
.
length
=
ACPI_PATHNAME_MAX
;
buffer
.
pointer
=
pathname
;
acpi_get_name
(
handle
,
ACPI_FULL_PATHNAME
,
&
buffer
);
...
...
@@ -210,17 +210,16 @@ acpi_pci_irq_add_prt (
buffer
.
length
=
0
;
buffer
.
pointer
=
NULL
;
kfree
(
pathname
);
status
=
acpi_get_irq_routing_table
(
handle
,
&
buffer
);
if
(
status
!=
AE_BUFFER_OVERFLOW
)
{
ACPI_DEBUG_PRINT
((
ACPI_DB_ERROR
,
"Error evaluating _PRT [%s]
\n
"
,
acpi_format_exception
(
status
)));
kfree
(
pathname
);
return_VALUE
(
-
ENODEV
);
}
prt
=
kmalloc
(
buffer
.
length
,
GFP_KERNEL
);
if
(
!
prt
){
kfree
(
pathname
);
return_VALUE
(
-
ENOMEM
);
}
memset
(
prt
,
0
,
buffer
.
length
);
...
...
@@ -230,7 +229,6 @@ acpi_pci_irq_add_prt (
if
(
ACPI_FAILURE
(
status
))
{
ACPI_DEBUG_PRINT
((
ACPI_DB_ERROR
,
"Error evaluating _PRT [%s]
\n
"
,
acpi_format_exception
(
status
)));
kfree
(
pathname
);
kfree
(
buffer
.
pointer
);
return_VALUE
(
-
ENODEV
);
}
...
...
@@ -243,7 +241,6 @@ acpi_pci_irq_add_prt (
((
unsigned
long
)
entry
+
entry
->
length
);
}
kfree
(
pathname
);
kfree
(
prt
);
return_VALUE
(
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