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
896182ad
Commit
896182ad
authored
Oct 07, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/fix/pxa' into spi-linus
parents
b242954b
269e4a41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.c
+10
-1
No files found.
drivers/spi/spi-pxa2xx.c
View file @
896182ad
...
@@ -546,8 +546,17 @@ static irqreturn_t ssp_int(int irq, void *dev_id)
...
@@ -546,8 +546,17 @@ static irqreturn_t ssp_int(int irq, void *dev_id)
if
(
pm_runtime_suspended
(
&
drv_data
->
pdev
->
dev
))
if
(
pm_runtime_suspended
(
&
drv_data
->
pdev
->
dev
))
return
IRQ_NONE
;
return
IRQ_NONE
;
sccr1_reg
=
read_SSCR1
(
reg
);
/*
* If the device is not yet in RPM suspended state and we get an
* interrupt that is meant for another device, check if status bits
* are all set to one. That means that the device is already
* powered off.
*/
status
=
read_SSSR
(
reg
);
status
=
read_SSSR
(
reg
);
if
(
status
==
~
0
)
return
IRQ_NONE
;
sccr1_reg
=
read_SSCR1
(
reg
);
/* Ignore possible writes if we don't need to write */
/* Ignore possible writes if we don't need to write */
if
(
!
(
sccr1_reg
&
SSCR1_TIE
))
if
(
!
(
sccr1_reg
&
SSCR1_TIE
))
...
...
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