Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC TDC 1ns 5cha - Software
Commits
f1fb504e
Commit
f1fb504e
authored
Sep 26, 2018
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
2d80667f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ft-irq.c
kernel/ft-irq.c
+7
-1
No files found.
kernel/ft-irq.c
View file @
f1fb504e
...
...
@@ -295,10 +295,16 @@ static void ft_dma_work(struct work_struct *work)
a simple, crude spinlock (David, Fede, fixme please ;-) */
if
(
!
spin_trylock
(
&
ft
->
dma_lock
))
{
printk
(
"dma already in progress
\n
"
);
ft_irq_enable_restore
(
ft
);
return
;
}
irq_stat
=
ft_ioread
(
ft
,
ft
->
ft_irq_base
+
TDC_EIC_REG_EIC_ISR
);
printk
(
"dma read %x
\n
"
,
irq_stat
);
irq_stat
&=
TDC_EIC_EIC_IMR_TDC_DMA_MASK
;
irq_stat
>>=
TDC_EIC_EIC_IMR_TDC_DMA_SHIFT
;
ft
->
dma_chan_mask
=
irq_stat
;
...
...
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