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
9de4ff1b
Commit
9de4ff1b
authored
21 years ago
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SOUND]: Fix sparc cs4231 driver build due to pcm list changes.
parent
e54347a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
sound/sparc/cs4231.c
sound/sparc/cs4231.c
+5
-4
No files found.
sound/sparc/cs4231.c
View file @
9de4ff1b
...
...
@@ -716,10 +716,12 @@ static int snd_cs4231_trigger(snd_pcm_substream_t *substream, int cmd)
case
SNDRV_PCM_TRIGGER_STOP
:
{
unsigned
int
what
=
0
;
snd_pcm_substream_t
*
s
=
substream
;
snd_pcm_substream_t
*
s
;
struct
list_head
*
pos
;
unsigned
long
flags
;
do
{
snd_pcm_group_for_each
(
pos
,
substream
)
{
s
=
snd_pcm_group_substream_entry
(
pos
);
if
(
s
==
chip
->
playback_substream
)
{
what
|=
CS4231_PLAYBACK_ENABLE
;
snd_pcm_trigger_done
(
s
,
substream
);
...
...
@@ -727,8 +729,7 @@ static int snd_cs4231_trigger(snd_pcm_substream_t *substream, int cmd)
what
|=
CS4231_RECORD_ENABLE
;
snd_pcm_trigger_done
(
s
,
substream
);
}
s
=
s
->
link_next
;
}
while
(
s
!=
substream
);
}
#if 0
printk("TRIGGER: what[%x] on(%d)\n",
...
...
This diff is collapsed.
Click to expand it.
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