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
23af7b0b
Commit
23af7b0b
authored
Mar 26, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/core' into asoc-next
parents
86b1f677
f7ba716f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sound/soc/soc-core.c
sound/soc/soc-core.c
+4
-4
No files found.
sound/soc/soc-core.c
View file @
23af7b0b
...
...
@@ -3140,7 +3140,7 @@ int snd_soc_bytes_put(struct snd_kcontrol *kcontrol,
if
(
params
->
mask
)
{
ret
=
regmap_read
(
codec
->
control_data
,
params
->
base
,
&
val
);
if
(
ret
!=
0
)
return
re
t
;
goto
ou
t
;
val
&=
params
->
mask
;
...
...
@@ -3158,13 +3158,15 @@ int snd_soc_bytes_put(struct snd_kcontrol *kcontrol,
((
u32
*
)
data
)[
0
]
|=
cpu_to_be32
(
val
);
break
;
default:
return
-
EINVAL
;
ret
=
-
EINVAL
;
goto
out
;
}
}
ret
=
regmap_raw_write
(
codec
->
control_data
,
params
->
base
,
data
,
len
);
out:
kfree
(
data
);
return
ret
;
...
...
@@ -4197,7 +4199,6 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
dev_err
(
card
->
dev
,
"ASoC: Property '%s' index %d could not be read: %d
\n
"
,
propname
,
2
*
i
,
ret
);
kfree
(
routes
);
return
-
EINVAL
;
}
ret
=
of_property_read_string_index
(
np
,
propname
,
...
...
@@ -4206,7 +4207,6 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
dev_err
(
card
->
dev
,
"ASoC: Property '%s' index %d could not be read: %d
\n
"
,
propname
,
(
2
*
i
)
+
1
,
ret
);
kfree
(
routes
);
return
-
EINVAL
;
}
}
...
...
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