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
5bf3db18
Commit
5bf3db18
authored
Feb 19, 2017
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
parents
19532a24
f12f5c84
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
sound/soc/intel/atom/sst-atom-controls.c
sound/soc/intel/atom/sst-atom-controls.c
+2
-4
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/bytcr_rt5640.c
+2
-3
sound/soc/intel/boards/bytcr_rt5651.c
sound/soc/intel/boards/bytcr_rt5651.c
+1
-2
No files found.
sound/soc/intel/atom/sst-atom-controls.c
View file @
5bf3db18
...
...
@@ -801,13 +801,11 @@ static int sst_get_frame_sync_polarity(struct snd_soc_dai *dai,
switch
(
format
)
{
case
SND_SOC_DAIFMT_NB_NF
:
return
SSP_FS_ACTIVE_LOW
;
case
SND_SOC_DAIFMT_NB_IF
:
case
SND_SOC_DAIFMT_IB_NF
:
return
SSP_FS_ACTIVE_HIGH
;
case
SND_SOC_DAIFMT_NB_IF
:
case
SND_SOC_DAIFMT_IB_IF
:
return
SSP_FS_ACTIVE_LOW
;
case
SND_SOC_DAIFMT_IB_NF
:
return
SSP_FS_ACTIVE_HIGH
;
default:
dev_err
(
dai
->
dev
,
"Invalid frame sync polarity %d
\n
"
,
format
);
}
...
...
sound/soc/intel/boards/bytcr_rt5640.c
View file @
5bf3db18
...
...
@@ -546,7 +546,7 @@ static int byt_rt5640_codec_fixup(struct snd_soc_pcm_runtime *rtd,
*/
ret
=
snd_soc_dai_set_fmt
(
rtd
->
cpu_dai
,
SND_SOC_DAIFMT_I2S
|
SND_SOC_DAIFMT_NB_
I
F
|
SND_SOC_DAIFMT_NB_
N
F
|
SND_SOC_DAIFMT_CBS_CFS
);
if
(
ret
<
0
)
{
...
...
@@ -572,7 +572,7 @@ static int byt_rt5640_codec_fixup(struct snd_soc_pcm_runtime *rtd,
*/
ret
=
snd_soc_dai_set_fmt
(
rtd
->
cpu_dai
,
SND_SOC_DAIFMT_I2S
|
SND_SOC_DAIFMT_NB_
I
F
|
SND_SOC_DAIFMT_NB_
N
F
|
SND_SOC_DAIFMT_CBS_CFS
);
if
(
ret
<
0
)
{
...
...
@@ -856,7 +856,6 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev)
static
struct
platform_driver
snd_byt_rt5640_mc_driver
=
{
.
driver
=
{
.
name
=
"bytcr_rt5640"
,
.
pm
=
&
snd_soc_pm_ops
,
},
.
probe
=
snd_byt_rt5640_mc_probe
,
};
...
...
sound/soc/intel/boards/bytcr_rt5651.c
View file @
5bf3db18
...
...
@@ -185,7 +185,7 @@ static int byt_rt5651_codec_fixup(struct snd_soc_pcm_runtime *rtd,
*/
ret
=
snd_soc_dai_set_fmt
(
rtd
->
cpu_dai
,
SND_SOC_DAIFMT_I2S
|
SND_SOC_DAIFMT_NB_
I
F
|
SND_SOC_DAIFMT_NB_
N
F
|
SND_SOC_DAIFMT_CBS_CFS
);
...
...
@@ -319,7 +319,6 @@ static int snd_byt_rt5651_mc_probe(struct platform_device *pdev)
static
struct
platform_driver
snd_byt_rt5651_mc_driver
=
{
.
driver
=
{
.
name
=
"bytcr_rt5651"
,
.
pm
=
&
snd_soc_pm_ops
,
},
.
probe
=
snd_byt_rt5651_mc_probe
,
};
...
...
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