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
9ddc01bf
Commit
9ddc01bf
authored
Jan 01, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add IRQ wake support for SA1111 PS/2 interfaces.
parent
08556256
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
arch/arm/mach-sa1100/neponset.c
arch/arm/mach-sa1100/neponset.c
+9
-0
drivers/input/serio/sa1111ps2.c
drivers/input/serio/sa1111ps2.c
+4
-0
No files found.
arch/arm/mach-sa1100/neponset.c
View file @
9ddc01bf
...
...
@@ -87,6 +87,15 @@ static inline void __init neponset_init_irq(void)
set_irq_type
(
IRQ_GPIO25
,
IRQT_RISING
);
set_irq_chained_handler
(
IRQ_GPIO25
,
neponset_irq_handler
);
/*
* We would set IRQ_GPIO25 to be a wake-up IRQ, but
* unfortunately something on the Neponset activates
* this IRQ on sleep (ethernet?)
*/
#if 0
enable_irq_wake(IRQ_GPIO25);
#endif
/*
* Setup other Neponset IRQs. SA1111 will be done by the
* generic SA1111 code.
...
...
drivers/input/serio/sa1111ps2.c
View file @
9ddc01bf
...
...
@@ -145,6 +145,8 @@ static int ps2_open(struct serio *io)
ps2if
->
open
=
1
;
enable_irq_wake
(
ps2if
->
dev
->
irq
[
0
]);
sa1111_writel
(
PS2CR_ENA
,
ps2if
->
base
+
SA1111_PS2CR
);
return
0
;
}
...
...
@@ -155,6 +157,8 @@ static void ps2_close(struct serio *io)
sa1111_writel
(
0
,
ps2if
->
base
+
SA1111_PS2CR
);
disable_irq_wake
(
ps2if
->
dev
->
irq
[
0
]);
ps2if
->
open
=
0
;
free_irq
(
ps2if
->
dev
->
irq
[
1
],
ps2if
);
...
...
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