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
f35d7633
Commit
f35d7633
authored
Oct 03, 2016
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/no_irq' into for-linus
parents
4dfc9afe
86c7e683
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
13 deletions
+10
-13
drivers/dma/ipu/ipu_irq.c
drivers/dma/ipu/ipu_irq.c
+4
-5
drivers/dma/moxart-dma.c
drivers/dma/moxart-dma.c
+1
-1
drivers/dma/mxs-dma.c
drivers/dma/mxs-dma.c
+4
-6
drivers/dma/sirf-dma.c
drivers/dma/sirf-dma.c
+1
-1
No files found.
drivers/dma/ipu/ipu_irq.c
View file @
f35d7633
...
...
@@ -286,22 +286,21 @@ static void ipu_irq_handler(struct irq_desc *desc)
raw_spin_unlock
(
&
bank_lock
);
while
((
line
=
ffs
(
status
)))
{
struct
ipu_irq_map
*
map
;
unsigned
int
irq
=
NO_IRQ
;
unsigned
int
irq
;
line
--
;
status
&=
~
(
1UL
<<
line
);
raw_spin_lock
(
&
bank_lock
);
map
=
src2map
(
32
*
i
+
line
);
if
(
map
)
irq
=
map
->
irq
;
raw_spin_unlock
(
&
bank_lock
);
if
(
!
map
)
{
raw_spin_unlock
(
&
bank_lock
);
pr_err
(
"IPU: Interrupt on unmapped source %u bank %d
\n
"
,
line
,
i
);
continue
;
}
irq
=
map
->
irq
;
raw_spin_unlock
(
&
bank_lock
);
generic_handle_irq
(
irq
);
}
}
...
...
drivers/dma/moxart-dma.c
View file @
f35d7633
...
...
@@ -579,7 +579,7 @@ static int moxart_probe(struct platform_device *pdev)
return
-
ENOMEM
;
irq
=
irq_of_parse_and_map
(
node
,
0
);
if
(
irq
==
NO_IRQ
)
{
if
(
!
irq
)
{
dev_err
(
dev
,
"no IRQ resource
\n
"
);
return
-
EINVAL
;
}
...
...
drivers/dma/mxs-dma.c
View file @
f35d7633
...
...
@@ -428,12 +428,10 @@ static int mxs_dma_alloc_chan_resources(struct dma_chan *chan)
goto
err_alloc
;
}
if
(
mxs_chan
->
chan_irq
!=
NO_IRQ
)
{
ret
=
request_irq
(
mxs_chan
->
chan_irq
,
mxs_dma_int_handler
,
0
,
"mxs-dma"
,
mxs_dma
);
if
(
ret
)
goto
err_irq
;
}
ret
=
request_irq
(
mxs_chan
->
chan_irq
,
mxs_dma_int_handler
,
0
,
"mxs-dma"
,
mxs_dma
);
if
(
ret
)
goto
err_irq
;
ret
=
clk_prepare_enable
(
mxs_dma
->
clk
);
if
(
ret
)
...
...
drivers/dma/sirf-dma.c
View file @
f35d7633
...
...
@@ -866,7 +866,7 @@ static int sirfsoc_dma_probe(struct platform_device *op)
}
sdma
->
irq
=
irq_of_parse_and_map
(
dn
,
0
);
if
(
sdma
->
irq
==
NO_IRQ
)
{
if
(
!
sdma
->
irq
)
{
dev_err
(
dev
,
"Error mapping IRQ!
\n
"
);
return
-
EINVAL
;
}
...
...
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