Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Simple PCIe FMC carrier SPEC
Commits
02a92708
Commit
02a92708
authored
Jul 25, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: whenever possible keep debug interface available
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
cced5f58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
spec-core-fpga.c
software/kernel/spec-core-fpga.c
+5
-3
No files found.
software/kernel/spec-core-fpga.c
View file @
02a92708
...
...
@@ -841,6 +841,8 @@ int spec_fpga_init(struct spec_gn412x *spec_gn412x)
goto
err_dev
;
}
spec_fpga_dbg_init
(
spec_fpga
);
err
=
spec_fpga_vic_init
(
spec_fpga
);
if
(
err
)
goto
err_vic
;
...
...
@@ -856,7 +858,6 @@ int spec_fpga_init(struct spec_gn412x *spec_gn412x)
err
=
spec_fpga_app_init
(
spec_fpga
);
if
(
err
)
goto
err_app
;
spec_fpga_dbg_init
(
spec_fpga
);
return
0
;
...
...
@@ -869,7 +870,8 @@ err_devs:
err_dma:
spec_fpga_vic_exit
(
spec_fpga
);
err_vic:
device_unregister
(
&
spec_fpga
->
dev
);
return
err
;
err_dev:
err_name:
err_valid:
...
...
@@ -887,13 +889,13 @@ int spec_fpga_exit(struct spec_gn412x *spec_gn412x)
if
(
!
spec_fpga
)
return
0
;
spec_fpga_dbg_exit
(
spec_fpga
);
spec_fpga_app_exit
(
spec_fpga
);
spec_fmc_exit
(
spec_fpga
);
spec_fpga_devices_exit
(
spec_fpga
);
spec_fpga_dma_exit
(
spec_fpga
);
spec_fpga_vic_exit
(
spec_fpga
);
spec_fpga_dbg_exit
(
spec_fpga
);
device_unregister
(
&
spec_fpga
->
dev
);
iounmap
(
spec_fpga
->
fpga
);
kfree
(
spec_fpga
);
...
...
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