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
a9ca2a3c
Commit
a9ca2a3c
authored
Mar 04, 2015
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/omap' into asoc-linus
parents
465de977
d51199a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
sound/soc/omap/omap-hdmi-audio.c
sound/soc/omap/omap-hdmi-audio.c
+3
-0
sound/soc/omap/omap-mcbsp.c
sound/soc/omap/omap-mcbsp.c
+11
-0
sound/soc/omap/omap-pcm.c
sound/soc/omap/omap-pcm.c
+1
-1
No files found.
sound/soc/omap/omap-hdmi-audio.c
View file @
a9ca2a3c
...
@@ -352,6 +352,9 @@ static int omap_hdmi_audio_probe(struct platform_device *pdev)
...
@@ -352,6 +352,9 @@ static int omap_hdmi_audio_probe(struct platform_device *pdev)
return
ret
;
return
ret
;
card
=
devm_kzalloc
(
dev
,
sizeof
(
*
card
),
GFP_KERNEL
);
card
=
devm_kzalloc
(
dev
,
sizeof
(
*
card
),
GFP_KERNEL
);
if
(
!
card
)
return
-
ENOMEM
;
card
->
name
=
devm_kasprintf
(
dev
,
GFP_KERNEL
,
card
->
name
=
devm_kasprintf
(
dev
,
GFP_KERNEL
,
"HDMI %s"
,
dev_name
(
ad
->
dssdev
));
"HDMI %s"
,
dev_name
(
ad
->
dssdev
));
card
->
owner
=
THIS_MODULE
;
card
->
owner
=
THIS_MODULE
;
...
...
sound/soc/omap/omap-mcbsp.c
View file @
a9ca2a3c
...
@@ -530,8 +530,19 @@ static int omap_mcbsp_dai_set_dai_sysclk(struct snd_soc_dai *cpu_dai,
...
@@ -530,8 +530,19 @@ static int omap_mcbsp_dai_set_dai_sysclk(struct snd_soc_dai *cpu_dai,
case
OMAP_MCBSP_SYSCLK_CLKX_EXT
:
case
OMAP_MCBSP_SYSCLK_CLKX_EXT
:
regs
->
srgr2
|=
CLKSM
;
regs
->
srgr2
|=
CLKSM
;
regs
->
pcr0
|=
SCLKME
;
/*
* If McBSP is master but yet the CLKX/CLKR pin drives the SRG,
* disable output on those pins. This enables to inject the
* reference clock through CLKX/CLKR. For this to work
* set_dai_sysclk() _needs_ to be called after set_dai_fmt().
*/
regs
->
pcr0
&=
~
CLKXM
;
break
;
case
OMAP_MCBSP_SYSCLK_CLKR_EXT
:
case
OMAP_MCBSP_SYSCLK_CLKR_EXT
:
regs
->
pcr0
|=
SCLKME
;
regs
->
pcr0
|=
SCLKME
;
/* Disable ouput on CLKR pin in master mode */
regs
->
pcr0
&=
~
CLKRM
;
break
;
break
;
default:
default:
err
=
-
ENODEV
;
err
=
-
ENODEV
;
...
...
sound/soc/omap/omap-pcm.c
View file @
a9ca2a3c
...
@@ -201,7 +201,7 @@ static int omap_pcm_new(struct snd_soc_pcm_runtime *rtd)
...
@@ -201,7 +201,7 @@ static int omap_pcm_new(struct snd_soc_pcm_runtime *rtd)
struct
snd_pcm
*
pcm
=
rtd
->
pcm
;
struct
snd_pcm
*
pcm
=
rtd
->
pcm
;
int
ret
;
int
ret
;
ret
=
dma_coerce_mask_and_coherent
(
card
->
dev
,
DMA_BIT_MASK
(
64
));
ret
=
dma_coerce_mask_and_coherent
(
card
->
dev
,
DMA_BIT_MASK
(
32
));
if
(
ret
)
if
(
ret
)
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