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
54b8c39f
Commit
54b8c39f
authored
Mar 20, 2007
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull misc-for-upstream into release branch
parents
0a14fe6e
0cd4554d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
7 deletions
+25
-7
MAINTAINERS
MAINTAINERS
+2
-3
arch/ia64/Kconfig
arch/ia64/Kconfig
+1
-0
drivers/acpi/hardware/hwsleep.c
drivers/acpi/hardware/hwsleep.c
+5
-0
drivers/acpi/ibm_acpi.c
drivers/acpi/ibm_acpi.c
+16
-3
include/acpi/actypes.h
include/acpi/actypes.h
+1
-1
No files found.
MAINTAINERS
View file @
54b8c39f
...
...
@@ -3066,11 +3066,10 @@ L: netdev@vger.kernel.org
S: Maintained
SONY VAIO CONTROL DEVICE DRIVER
P: Stelian Pop
M: stelian@popies.net
P: Mattia Dongili
M: malattia@linux.it
W: http://popies.net/sonypi/
L: linux-acpi@vger.kernel.org
W: http://www.linux.it/~malattia/wiki/index.php/Sony_drivers
S: Maintained
SOUND
...
...
arch/ia64/Kconfig
View file @
54b8c39f
...
...
@@ -13,6 +13,7 @@ config IA64
bool
select PCI if (!IA64_HP_SIM)
select ACPI if (!IA64_HP_SIM)
select PM if (!IA64_HP_SIM)
default y
help
The Itanium Processor Family is Intel's 64-bit successor to
...
...
drivers/acpi/hardware/hwsleep.c
View file @
54b8c39f
...
...
@@ -300,6 +300,11 @@ acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state)
/*
* 2) Enable all wakeup GPEs
*/
status
=
acpi_hw_disable_all_gpes
();
if
(
ACPI_FAILURE
(
status
))
{
return_ACPI_STATUS
(
status
);
}
acpi_gbl_system_awake_and_running
=
FALSE
;
status
=
acpi_hw_enable_all_wakeup_gpes
();
...
...
drivers/acpi/ibm_acpi.c
View file @
54b8c39f
...
...
@@ -2507,7 +2507,7 @@ static int __init setup_notify(struct ibm_struct *ibm)
ret
=
acpi_bus_get_device
(
*
ibm
->
handle
,
&
ibm
->
device
);
if
(
ret
<
0
)
{
printk
(
IBM_ERR
"%s device not present
\n
"
,
ibm
->
name
);
return
0
;
return
-
ENODEV
;
}
acpi_driver_data
(
ibm
->
device
)
=
ibm
;
...
...
@@ -2516,8 +2516,13 @@ static int __init setup_notify(struct ibm_struct *ibm)
status
=
acpi_install_notify_handler
(
*
ibm
->
handle
,
ibm
->
type
,
dispatch_notify
,
ibm
);
if
(
ACPI_FAILURE
(
status
))
{
printk
(
IBM_ERR
"acpi_install_notify_handler(%s) failed: %d
\n
"
,
ibm
->
name
,
status
);
if
(
status
==
AE_ALREADY_EXISTS
)
{
printk
(
IBM_NOTICE
"another device driver is already handling %s events
\n
"
,
ibm
->
name
);
}
else
{
printk
(
IBM_ERR
"acpi_install_notify_handler(%s) failed: %d
\n
"
,
ibm
->
name
,
status
);
}
return
-
ENODEV
;
}
ibm
->
notify_installed
=
1
;
...
...
@@ -2553,6 +2558,8 @@ static int __init register_driver(struct ibm_struct *ibm)
return
ret
;
}
static
void
ibm_exit
(
struct
ibm_struct
*
ibm
);
static
int
__init
ibm_init
(
struct
ibm_struct
*
ibm
)
{
int
ret
;
...
...
@@ -2594,6 +2601,12 @@ static int __init ibm_init(struct ibm_struct *ibm)
if
(
ibm
->
notify
)
{
ret
=
setup_notify
(
ibm
);
if
(
ret
==
-
ENODEV
)
{
printk
(
IBM_NOTICE
"disabling subdriver %s
\n
"
,
ibm
->
name
);
ibm_exit
(
ibm
);
return
0
;
}
if
(
ret
<
0
)
return
ret
;
}
...
...
include/acpi/actypes.h
View file @
54b8c39f
...
...
@@ -344,7 +344,7 @@ typedef u32 acpi_integer;
/* 64-bit integers */
typedef
u
64
acpi_integer
;
typedef
u
nsigned
long
long
acpi_integer
;
#define ACPI_INTEGER_MAX ACPI_UINT64_MAX
#define ACPI_INTEGER_BIT_SIZE 64
#define ACPI_MAX_DECIMAL_DIGITS 20
/* 2^64 = 18,446,744,073,709,551,616 */
...
...
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