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
Kirill Smelkov
linux
Commits
64c37d50
Commit
64c37d50
authored
Feb 19, 2017
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branches 'asoc/topic/img' and 'asoc/topic/max98090' into asoc-next
parents
96f0e8a5
bfe48dff
1c445a42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
sound/soc/codecs/max98090.c
sound/soc/codecs/max98090.c
+1
-1
sound/soc/img/img-parallel-out.c
sound/soc/img/img-parallel-out.c
+0
-2
No files found.
sound/soc/codecs/max98090.c
View file @
64c37d50
...
@@ -2456,7 +2456,7 @@ static int max98090_probe(struct snd_soc_codec *codec)
...
@@ -2456,7 +2456,7 @@ static int max98090_probe(struct snd_soc_codec *codec)
if
(
err
)
{
if
(
err
)
{
micbias
=
M98090_MBVSEL_2V8
;
micbias
=
M98090_MBVSEL_2V8
;
dev_info
(
codec
->
dev
,
"use default 2.8v micbias
\n
"
);
dev_info
(
codec
->
dev
,
"use default 2.8v micbias
\n
"
);
}
else
if
(
micbias
<
M98090_MBVSEL_2V2
||
micbias
>
M98090_MBVSEL_2V8
)
{
}
else
if
(
micbias
>
M98090_MBVSEL_2V8
)
{
dev_err
(
codec
->
dev
,
"micbias out of range 0x%x
\n
"
,
micbias
);
dev_err
(
codec
->
dev
,
"micbias out of range 0x%x
\n
"
,
micbias
);
micbias
=
M98090_MBVSEL_2V8
;
micbias
=
M98090_MBVSEL_2V8
;
}
}
...
...
sound/soc/img/img-parallel-out.c
View file @
64c37d50
...
@@ -123,10 +123,8 @@ static int img_prl_out_hw_params(struct snd_pcm_substream *substream,
...
@@ -123,10 +123,8 @@ static int img_prl_out_hw_params(struct snd_pcm_substream *substream,
struct
img_prl_out
*
prl
=
snd_soc_dai_get_drvdata
(
dai
);
struct
img_prl_out
*
prl
=
snd_soc_dai_get_drvdata
(
dai
);
unsigned
int
rate
,
channels
;
unsigned
int
rate
,
channels
;
u32
reg
,
control_set
=
0
;
u32
reg
,
control_set
=
0
;
snd_pcm_format_t
format
;
rate
=
params_rate
(
params
);
rate
=
params_rate
(
params
);
format
=
params_format
(
params
);
channels
=
params_channels
(
params
);
channels
=
params_channels
(
params
);
switch
(
params_format
(
params
))
{
switch
(
params_format
(
params
))
{
...
...
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