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
f529fd52
Commit
f529fd52
authored
Nov 25, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed warning, changed to debug
parent
48264b19
Changes
1
Hide 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 @
f529fd52
...
@@ -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