Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC ADC 100M 14b 4cha - Software
Commits
b70f2816
Commit
b70f2816
authored
Aug 13, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drv: add calibration temperature to debug print
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
8c273216
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
fa-calibration.c
kernel/fa-calibration.c
+6
-4
No files found.
kernel/fa-calibration.c
View file @
b70f2816
...
...
@@ -155,8 +155,9 @@ void fa_calib_adc_config_chan(struct fa_dev *fa, unsigned int chan,
temperature
-
cal
->
temperature
);
dev_dbg
(
&
fa
->
pdev
->
dev
,
"%s: {temperature: %d, chan: %d, range: %d, gain: 0x%x, offset: 0x%x}
\n
"
,
__func__
,
temperature
,
chan
,
range
,
gain
,
cal
->
offset
[
chan
]);
"%s: {calib-temperatur: %d, temperature: %d, chan: %d, range: %d, gain: 0x%x, offset: 0x%x}
\n
"
,
__func__
,
cal
->
temperature
,
temperature
,
chan
,
range
,
gain
,
cal
->
offset
[
chan
]);
fa_calib_gain_set
(
fa
,
chan
,
gain
);
fa_calib_offset_set
(
fa
,
chan
,
cal
->
offset
[
chan
]);
...
...
@@ -250,8 +251,9 @@ int fa_calib_dac_config_chan(struct fa_dev *fa, unsigned int chan,
temperature
-
cal
->
temperature
);
dev_dbg
(
&
fa
->
pdev
->
dev
,
"%s: {temperature: %d, chan: %d, range: %d, gain: 0x%x, offset: 0x%x}
\n
"
,
__func__
,
temperature
,
chan
,
range
,
gain
,
cal
->
offset
[
chan
]);
"%s: {calib-temperatur: %d, temperature: %d, chan: %d, range: %d, gain: 0x%x, offset: 0x%x}
\n
"
,
__func__
,
cal
->
temperature
,
temperature
,
chan
,
range
,
gain
,
cal
->
offset
[
chan
]);
hwval
=
fa_dac_offset_raw_calibrate
(
off_uv_raw
,
gain
,
cal
->
offset
[
chan
]);
...
...
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