Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
e2a9715b
Commit
e2a9715b
authored
Nov 25, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Plain Diff
merged with framepars
parents
c1e99586
f529fd52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
histograms.c
src/drivers/elphel/histograms.c
+1
-1
No files found.
src/drivers/elphel/histograms.c
View file @
e2a9715b
...
@@ -307,7 +307,7 @@ void init_histograms(int chn_mask) ///< combined subchannels and ports Save mask
...
@@ -307,7 +307,7 @@ void init_histograms(int chn_mask) ///< combined subchannels and ports Save mask
// dev_warn(g_dev_ptr, "dma_alloc_coherent(NULL, 0x%x, 0x%x,GFP_NOWAIT)",pages * PAGE_SIZE, (int) histograms_phys);
// dev_warn(g_dev_ptr, "dma_alloc_coherent(NULL, 0x%x, 0x%x,GFP_NOWAIT)",pages * PAGE_SIZE, (int) histograms_phys);
// histograms = dma_alloc_coherent(NULL,(pages * PAGE_SIZE),&histograms_phys,GFP_ATOMIC); // OK
// histograms = dma_alloc_coherent(NULL,(pages * PAGE_SIZE),&histograms_phys,GFP_ATOMIC); // OK
dev_
warn
(
g_dev_ptr
,
"dma_alloc_coherent should be done before (@probe), needed are 0x%lx bytes)"
,
pages
*
PAGE_SIZE
);
dev_
dbg
(
g_dev_ptr
,
"dma_alloc_coherent should be done before (@probe), needed are 0x%lx bytes)"
,
pages
*
PAGE_SIZE
);
BUG_ON
(
!
histograms
);
BUG_ON
(
!
histograms
);
histograms_p
=
(
struct
histogram_stuct_t
*
)
histograms
;
histograms_p
=
(
struct
histogram_stuct_t
*
)
histograms
;
// MDF21(printk("\n"));
// MDF21(printk("\n"));
...
...
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