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
e50a7ea0
Commit
e50a7ea0
authored
Feb 02, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-2.6.29' into for-2.6.30
parents
8f008062
21dff434
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sound/soc/omap/omap-pcm.c
sound/soc/omap/omap-pcm.c
+3
-2
No files found.
sound/soc/omap/omap-pcm.c
View file @
e50a7ea0
...
...
@@ -175,9 +175,10 @@ static int omap_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
{
struct
snd_pcm_runtime
*
runtime
=
substream
->
runtime
;
struct
omap_runtime_data
*
prtd
=
runtime
->
private_data
;
unsigned
long
flags
;
int
ret
=
0
;
spin_lock_irq
(
&
prtd
->
lock
);
spin_lock_irq
save
(
&
prtd
->
lock
,
flags
);
switch
(
cmd
)
{
case
SNDRV_PCM_TRIGGER_START
:
case
SNDRV_PCM_TRIGGER_RESUME
:
...
...
@@ -195,7 +196,7 @@ static int omap_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
default:
ret
=
-
EINVAL
;
}
spin_unlock_irq
(
&
prtd
->
lock
);
spin_unlock_irq
restore
(
&
prtd
->
lock
,
flags
);
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