Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
106c386a
Commit
106c386a
authored
Apr 12, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/wm0010' into asoc-next
parents
6d21c5d6
3e112af5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sound/soc/codecs/wm0010.c
sound/soc/codecs/wm0010.c
+3
-3
No files found.
sound/soc/codecs/wm0010.c
View file @
106c386a
...
@@ -342,7 +342,7 @@ static void byte_swap_64(u64 *data_in, u64 *data_out, u32 len)
...
@@ -342,7 +342,7 @@ static void byte_swap_64(u64 *data_in, u64 *data_out, u32 len)
data_out
[
i
]
=
cpu_to_be64
(
le64_to_cpu
(
data_in
[
i
]));
data_out
[
i
]
=
cpu_to_be64
(
le64_to_cpu
(
data_in
[
i
]));
}
}
static
int
wm0010_firmware_load
(
char
*
name
,
struct
snd_soc_codec
*
codec
)
static
int
wm0010_firmware_load
(
c
onst
c
har
*
name
,
struct
snd_soc_codec
*
codec
)
{
{
struct
spi_device
*
spi
=
to_spi_device
(
codec
->
dev
);
struct
spi_device
*
spi
=
to_spi_device
(
codec
->
dev
);
struct
wm0010_priv
*
wm0010
=
snd_soc_codec_get_drvdata
(
codec
);
struct
wm0010_priv
*
wm0010
=
snd_soc_codec_get_drvdata
(
codec
);
...
@@ -361,8 +361,8 @@ static int wm0010_firmware_load(char *name, struct snd_soc_codec *codec)
...
@@ -361,8 +361,8 @@ static int wm0010_firmware_load(char *name, struct snd_soc_codec *codec)
ret
=
request_firmware
(
&
fw
,
name
,
codec
->
dev
);
ret
=
request_firmware
(
&
fw
,
name
,
codec
->
dev
);
if
(
ret
!=
0
)
{
if
(
ret
!=
0
)
{
dev_err
(
codec
->
dev
,
"Failed to request application: %d
\n
"
,
dev_err
(
codec
->
dev
,
"Failed to request application
(%s)
: %d
\n
"
,
ret
);
name
,
ret
);
return
ret
;
return
ret
;
}
}
...
...
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