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
2fcfdf56
Commit
2fcfdf56
authored
Aug 30, 2002
by
Peter Wächtler
Committed by
Linus Torvalds
Aug 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] oss/vwsnd.c - convert cli to spinlocks
parent
7a6316fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sound/oss/vwsnd.c
sound/oss/vwsnd.c
+2
-2
No files found.
sound/oss/vwsnd.c
View file @
2fcfdf56
...
@@ -2917,7 +2917,7 @@ static int vwsnd_audio_mmap(struct file *file, struct vm_area_struct *vma)
...
@@ -2917,7 +2917,7 @@ static int vwsnd_audio_mmap(struct file *file, struct vm_area_struct *vma)
static
int
vwsnd_audio_open
(
struct
inode
*
inode
,
struct
file
*
file
)
static
int
vwsnd_audio_open
(
struct
inode
*
inode
,
struct
file
*
file
)
{
{
vwsnd_dev_t
*
devc
;
vwsnd_dev_t
*
devc
;
dev_t
minor
=
MINOR
(
inode
->
i_rdev
);
dev_t
minor
=
minor
(
inode
->
i_rdev
);
int
sw_samplefmt
;
int
sw_samplefmt
;
DBGE
(
"(inode=0x%p, file=0x%p)
\n
"
,
inode
,
file
);
DBGE
(
"(inode=0x%p, file=0x%p)
\n
"
,
inode
,
file
);
...
@@ -3064,7 +3064,7 @@ static int vwsnd_mixer_open(struct inode *inode, struct file *file)
...
@@ -3064,7 +3064,7 @@ static int vwsnd_mixer_open(struct inode *inode, struct file *file)
INC_USE_COUNT
;
INC_USE_COUNT
;
for
(
devc
=
vwsnd_dev_list
;
devc
;
devc
=
devc
->
next_dev
)
for
(
devc
=
vwsnd_dev_list
;
devc
;
devc
=
devc
->
next_dev
)
if
(
devc
->
mixer_minor
==
MINOR
(
inode
->
i_rdev
))
if
(
devc
->
mixer_minor
==
minor
(
inode
->
i_rdev
))
break
;
break
;
if
(
devc
==
NULL
)
{
if
(
devc
==
NULL
)
{
...
...
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