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
613733f0
Commit
613733f0
authored
Oct 26, 2017
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
parents
bb176f67
d1c4cb44
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
sound/soc/intel/boards/cht_bsw_max98090_ti.c
sound/soc/intel/boards/cht_bsw_max98090_ti.c
+3
-3
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
+2
-0
sound/soc/intel/skylake/skl-topology.c
sound/soc/intel/skylake/skl-topology.c
+1
-1
No files found.
sound/soc/intel/boards/cht_bsw_max98090_ti.c
View file @
613733f0
...
@@ -160,7 +160,7 @@ static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd,
...
@@ -160,7 +160,7 @@ static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd,
return
ret
;
return
ret
;
}
}
fmt
=
SND_SOC_DAIFMT_
LEFT_J
|
SND_SOC_DAIFMT_NB_NF
fmt
=
SND_SOC_DAIFMT_
I2S
|
SND_SOC_DAIFMT_NB_NF
|
SND_SOC_DAIFMT_CBS_CFS
;
|
SND_SOC_DAIFMT_CBS_CFS
;
ret
=
snd_soc_dai_set_fmt
(
rtd
->
cpu_dai
,
fmt
);
ret
=
snd_soc_dai_set_fmt
(
rtd
->
cpu_dai
,
fmt
);
...
@@ -173,8 +173,8 @@ static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd,
...
@@ -173,8 +173,8 @@ static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd,
rate
->
min
=
rate
->
max
=
48000
;
rate
->
min
=
rate
->
max
=
48000
;
channels
->
min
=
channels
->
max
=
2
;
channels
->
min
=
channels
->
max
=
2
;
/* set SSP2 to
24
-bit */
/* set SSP2 to
16
-bit */
params_set_format
(
params
,
SNDRV_PCM_FORMAT_S
24
_LE
);
params_set_format
(
params
,
SNDRV_PCM_FORMAT_S
16
_LE
);
return
0
;
return
0
;
}
}
...
...
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
View file @
613733f0
...
@@ -604,6 +604,8 @@ static int kabylake_card_late_probe(struct snd_soc_card *card)
...
@@ -604,6 +604,8 @@ static int kabylake_card_late_probe(struct snd_soc_card *card)
list_for_each_entry
(
pcm
,
&
ctx
->
hdmi_pcm_list
,
head
)
{
list_for_each_entry
(
pcm
,
&
ctx
->
hdmi_pcm_list
,
head
)
{
codec
=
pcm
->
codec_dai
->
codec
;
codec
=
pcm
->
codec_dai
->
codec
;
snprintf
(
jack_name
,
sizeof
(
jack_name
),
"HDMI/DP, pcm=%d Jack"
,
pcm
->
device
);
err
=
snd_soc_card_jack_new
(
card
,
jack_name
,
err
=
snd_soc_card_jack_new
(
card
,
jack_name
,
SND_JACK_AVOUT
,
&
ctx
->
kabylake_hdmi
[
i
],
SND_JACK_AVOUT
,
&
ctx
->
kabylake_hdmi
[
i
],
NULL
,
0
);
NULL
,
0
);
...
...
sound/soc/intel/skylake/skl-topology.c
View file @
613733f0
...
@@ -2382,7 +2382,7 @@ static int skl_tplg_get_token(struct device *dev,
...
@@ -2382,7 +2382,7 @@ static int skl_tplg_get_token(struct device *dev,
case
SKL_TKN_U32_MAX_MCPS
:
case
SKL_TKN_U32_MAX_MCPS
:
case
SKL_TKN_U32_OBS
:
case
SKL_TKN_U32_OBS
:
case
SKL_TKN_U32_IBS
:
case
SKL_TKN_U32_IBS
:
ret
=
skl_tplg_fill_res_tkn
(
dev
,
tkn_elem
,
res
,
dir
,
pin_index
);
ret
=
skl_tplg_fill_res_tkn
(
dev
,
tkn_elem
,
res
,
pin_index
,
dir
);
if
(
ret
<
0
)
if
(
ret
<
0
)
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