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
7dfe7e18
Commit
7dfe7e18
authored
Jan 10, 2017
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
parents
01c2a84c
bc65a326
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/bytcr_rt5640.c
+14
-4
sound/soc/intel/skylake/skl-pcm.c
sound/soc/intel/skylake/skl-pcm.c
+3
-0
sound/soc/intel/skylake/skl-sst.c
sound/soc/intel/skylake/skl-sst.c
+3
-0
No files found.
sound/soc/intel/boards/bytcr_rt5640.c
View file @
7dfe7e18
...
...
@@ -142,7 +142,7 @@ static int platform_clock_control(struct snd_soc_dapm_widget *w,
* for Jack detection and button press
*/
ret
=
snd_soc_dai_set_sysclk
(
codec_dai
,
RT5640_SCLK_S_RCCLK
,
0
,
48000
*
512
,
SND_SOC_CLOCK_IN
);
if
(
!
ret
)
{
if
((
byt_rt5640_quirk
&
BYT_RT5640_MCLK_EN
)
&&
priv
->
mclk
)
...
...
@@ -825,10 +825,20 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev)
if
((
byt_rt5640_quirk
&
BYT_RT5640_MCLK_EN
)
&&
(
is_valleyview
()))
{
priv
->
mclk
=
devm_clk_get
(
&
pdev
->
dev
,
"pmc_plt_clk_3"
);
if
(
IS_ERR
(
priv
->
mclk
))
{
ret_val
=
PTR_ERR
(
priv
->
mclk
);
dev_err
(
&
pdev
->
dev
,
"Failed to get MCLK from pmc_plt_clk_3: %ld
\n
"
,
PTR_ERR
(
priv
->
mclk
));
return
PTR_ERR
(
priv
->
mclk
);
"Failed to get MCLK from pmc_plt_clk_3: %d
\n
"
,
ret_val
);
/*
* Fall back to bit clock usage for -ENOENT (clock not
* available likely due to missing dependencies), bail
* for all other errors, including -EPROBE_DEFER
*/
if
(
ret_val
!=
-
ENOENT
)
return
ret_val
;
byt_rt5640_quirk
&=
~
BYT_RT5640_MCLK_EN
;
}
}
...
...
sound/soc/intel/skylake/skl-pcm.c
View file @
7dfe7e18
...
...
@@ -180,6 +180,9 @@ static int skl_pcm_open(struct snd_pcm_substream *substream,
snd_pcm_set_sync
(
substream
);
mconfig
=
skl_tplg_fe_get_cpr_module
(
dai
,
substream
->
stream
);
if
(
!
mconfig
)
return
-
EINVAL
;
skl_tplg_d0i3_get
(
skl
,
mconfig
->
d0i3_caps
);
return
0
;
...
...
sound/soc/intel/skylake/skl-sst.c
View file @
7dfe7e18
...
...
@@ -515,6 +515,9 @@ EXPORT_SYMBOL_GPL(skl_sst_init_fw);
void
skl_sst_dsp_cleanup
(
struct
device
*
dev
,
struct
skl_sst
*
ctx
)
{
if
(
ctx
->
dsp
->
fw
)
release_firmware
(
ctx
->
dsp
->
fw
);
skl_clear_module_table
(
ctx
->
dsp
);
skl_freeup_uuid_list
(
ctx
);
skl_ipc_free
(
&
ctx
->
ipc
);
...
...
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