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
dbe9d70b
Commit
dbe9d70b
authored
Aug 23, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
before adding klogger_393
parent
5414b1d7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
48 deletions
+66
-48
framepars.c
src/drivers/elphel/framepars.c
+64
-46
gamma_tables.c
src/drivers/elphel/gamma_tables.c
+1
-1
histograms.c
src/drivers/elphel/histograms.c
+1
-1
No files found.
src/drivers/elphel/framepars.c
View file @
dbe9d70b
This diff is collapsed.
Click to expand it.
src/drivers/elphel/gamma_tables.c
View file @
dbe9d70b
...
...
@@ -945,7 +945,7 @@ int gammas_mmap (struct file *file, struct vm_area_struct *vma) {
((
unsigned
long
)
virt_to_phys
(
gammas_p
))
>>
PAGE_SHIFT
,
// Should be page-aligned
vma
->
vm_end
-
vma
->
vm_start
,
vma
->
vm_page_prot
);
dev_dbg
(
g_dev_ptr
,
"remap_pfn_range returned=%x
\
r\
n
"
,
result
);
dev_dbg
(
g_dev_ptr
,
"remap_pfn_range returned=%x
\n
"
,
result
);
if
(
result
)
return
-
EAGAIN
;
return
0
;
default:
return
-
EINVAL
;
...
...
src/drivers/elphel/histograms.c
View file @
dbe9d70b
...
...
@@ -719,7 +719,7 @@ int histograms_mmap (struct file *file, struct vm_area_struct *vma) {
((
unsigned
long
)
virt_to_phys
(
histograms_p
))
>>
PAGE_SHIFT
,
// Should be page-aligned
vma
->
vm_end
-
vma
->
vm_start
,
vma
->
vm_page_prot
);
dev_dbg
(
g_dev_ptr
,
"remap_pfn_range returned=%x
\
r\
n
"
,
result
);
dev_dbg
(
g_dev_ptr
,
"remap_pfn_range returned=%x
\n
"
,
result
);
if
(
result
)
return
-
EAGAIN
;
return
0
;
default:
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