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
f0fab494
Commit
f0fab494
authored
Feb 11, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/omap' into asoc-next
parents
556d8b55
a92b5317
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
+5
-11
sound/soc/omap/omap-hdmi.c
sound/soc/omap/omap-hdmi.c
+2
-0
sound/soc/omap/omap-pcm.c
sound/soc/omap/omap-pcm.c
+3
-11
No files found.
sound/soc/omap/omap-hdmi.c
View file @
f0fab494
...
...
@@ -110,6 +110,8 @@ static int omap_hdmi_dai_hw_params(struct snd_pcm_substream *substream,
/*
* fill the IEC-60958 channel status word
*/
/* initialize the word bytes */
memset
(
iec
->
status
,
0
,
sizeof
(
iec
->
status
));
/* specify IEC-60958-3 (commercial use) */
iec
->
status
[
0
]
&=
~
IEC958_AES0_PROFESSIONAL
;
...
...
sound/soc/omap/omap-pcm.c
View file @
f0fab494
...
...
@@ -174,23 +174,15 @@ static snd_pcm_uframes_t omap_pcm_pointer(struct snd_pcm_substream *substream)
static
int
omap_pcm_open
(
struct
snd_pcm_substream
*
substream
)
{
struct
snd_pcm_runtime
*
runtime
=
substream
->
runtime
;
struct
snd_soc_pcm_runtime
*
rtd
=
substream
->
private_data
;
struct
omap_pcm_dma_data
*
dma_data
;
int
ret
;
snd_soc_set_runtime_hwparams
(
substream
,
&
omap_pcm_hardware
);
/* Ensure that buffer size is a multiple of period size */
ret
=
snd_pcm_hw_constraint_integer
(
runtime
,
SNDRV_PCM_HW_PARAM_PERIODS
);
if
(
ret
<
0
)
return
ret
;
dma_data
=
snd_soc_dai_get_dma_data
(
rtd
->
cpu_dai
,
substream
);
ret
=
snd_dmaengine_pcm_open
(
substream
,
omap_dma_filter_fn
,
&
dma_data
->
dma_req
);
return
ret
;
return
snd_dmaengine_pcm_open
(
substream
,
omap_dma_filter_fn
,
&
dma_data
->
dma_req
)
;
}
static
int
omap_pcm_close
(
struct
snd_pcm_substream
*
substream
)
...
...
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