Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FMC TDC 1ns 5cha - Software
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
FMC TDC 1ns 5cha - Software
Commits
34820f5b
Commit
34820f5b
authored
12 years ago
by
Samuel Iglesias Gonsálvez
Browse files
Options
Downloads
Patches
Plain Diff
tdc: remove unneeded tdc: from the dev_err output
Signed-off-by:
Samuel Iglesias Gonsalvez
<
siglesias@igalia.com
>
parent
7ef3575b
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/tdc-fmc.c
+3
-3
3 additions, 3 deletions
drivers/tdc-fmc.c
with
3 additions
and
3 deletions
drivers/tdc-fmc.c
+
3
−
3
View file @
34820f5b
...
...
@@ -150,7 +150,7 @@ static void tdc_fmc_irq_work(struct work_struct *work)
ret
=
tdc_dma_setup
(
tdc
,
0
,
(
unsigned
long
)
events
,
TDC_EVENT_BUFFER_SIZE
*
sizeof
(
struct
tdc_event
));
if
(
ret
)
{
dev_err
(
&
tdc
->
fmc
->
dev
,
"
tdc:
error in DMA setup
\n
"
);
dev_err
(
&
tdc
->
fmc
->
dev
,
"error in DMA setup
\n
"
);
mutex_unlock
(
&
fmc_dma_lock
);
goto
dma_out
;
}
...
...
@@ -165,7 +165,7 @@ static void tdc_fmc_irq_work(struct work_struct *work)
/* In case of timeout, notify the user */
if
(
!
ret
)
{
dev_err
(
&
tdc
->
fmc
->
dev
,
"
tdc:
timeout in DMA transfer.
\n
"
);
dev_err
(
&
tdc
->
fmc
->
dev
,
"timeout in DMA transfer.
\n
"
);
mutex_unlock
(
&
fmc_dma_lock
);
goto
dma_out
;
}
...
...
@@ -173,7 +173,7 @@ static void tdc_fmc_irq_work(struct work_struct *work)
/* Check the status of the DMA */
ret
=
readl
(
tdc
->
base
+
TDC_DMA_STAT_R
);
if
((
ret
&
TDC_DMA_STAT_ERR
)
||
(
ret
&
TDC_DMA_STAT_ABORT
))
{
dev_err
(
&
tdc
->
fmc
->
dev
,
"
tdc:
error in DMA transfer
\n
"
);
dev_err
(
&
tdc
->
fmc
->
dev
,
"error in DMA transfer
\n
"
);
mutex_unlock
(
&
fmc_dma_lock
);
goto
dma_out
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment