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
54892d7f
Commit
54892d7f
authored
Jul 30, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: add debug messages on GN412X devices removal
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
00c8f671
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
gn412x-fcl.c
software/kernel/gn412x-fcl.c
+1
-0
gn412x-gpio.c
software/kernel/gn412x-gpio.c
+1
-0
No files found.
software/kernel/gn412x-fcl.c
View file @
54892d7f
...
@@ -456,6 +456,7 @@ static int gn412x_fcl_remove(struct platform_device *pdev)
...
@@ -456,6 +456,7 @@ static int gn412x_fcl_remove(struct platform_device *pdev)
compat_fpga_mgr_unregister
(
gn412x
->
mgr
);
compat_fpga_mgr_unregister
(
gn412x
->
mgr
);
compat_fpga_mgr_free
(
gn412x
->
mgr
);
compat_fpga_mgr_free
(
gn412x
->
mgr
);
dev_dbg
(
&
pdev
->
dev
,
"%s
\n
"
,
__func__
);
return
0
;
return
0
;
}
}
...
...
software/kernel/gn412x-gpio.c
View file @
54892d7f
...
@@ -570,6 +570,7 @@ static int gn412x_gpio_remove(struct platform_device *pdev)
...
@@ -570,6 +570,7 @@ static int gn412x_gpio_remove(struct platform_device *pdev)
free_irq
(
platform_get_irq
(
pdev
,
0
),
gn412x
);
free_irq
(
platform_get_irq
(
pdev
,
0
),
gn412x
);
gn412x_gpio_irq_set_nested_thread_all
(
gn412x
,
false
);
gn412x_gpio_irq_set_nested_thread_all
(
gn412x
,
false
);
gpiochip_remove
(
&
gn412x
->
gpiochip
);
gpiochip_remove
(
&
gn412x
->
gpiochip
);
dev_dbg
(
&
pdev
->
dev
,
"%s
\n
"
,
__func__
);
return
0
;
return
0
;
}
}
...
...
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