Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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 DEL 1ns 4cha - Software
Commits
096850fb
Commit
096850fb
authored
Jul 08, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
load_calib: two fixes (silly me)
parent
1e68f01e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
i2c.c
i2c.c
+2
-3
No files found.
i2c.c
View file @
096850fb
...
...
@@ -219,7 +219,7 @@ static void fd_i2c_load_calib(struct spec_fd *fd,
{
const
struct
firmware
*
fw
;
struct
pci_dev
*
pdev
=
fd
->
spec
->
pdev
;
char
*
newname
,
*
fwname
;
char
*
fwname
,
*
newname
=
NULL
;
int
err
;
/* the calibration_load string is known to be valid */
...
...
@@ -233,7 +233,7 @@ static void fd_i2c_load_calib(struct spec_fd *fd,
newname
=
kasprintf
(
GFP_KERNEL
,
"%s-%02x%02x
\n
"
,
calibration_load
,
pdev
->
bus
->
number
,
pdev
->
devfn
);
err
=
request_firmware
(
&
fw
,
calibration_load
,
&
pdev
->
dev
);
err
=
request_firmware
(
&
fw
,
newname
,
&
pdev
->
dev
);
if
(
err
<
0
)
{
dev_warn
(
&
pdev
->
dev
,
"can't load
\"
%s
\"\n
"
,
newname
);
...
...
@@ -258,7 +258,6 @@ static void fd_i2c_load_calib(struct spec_fd *fd,
}
int
fd_i2c_init
(
struct
spec_fd
*
fd
)
{
struct
fd_calib_on_eeprom
*
cal_ee
;
...
...
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