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
Kirill Smelkov
linux
Commits
e88425b2
Commit
e88425b2
authored
Jul 31, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix section conflict and typo in ALSA isa
parent
709c572c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sound/isa/sb/emu8000.c
sound/isa/sb/emu8000.c
+2
-2
sound/isa/sscape.c
sound/isa/sscape.c
+1
-1
No files found.
sound/isa/sb/emu8000.c
View file @
e88425b2
...
...
@@ -659,7 +659,7 @@ snd_emu8000_load_chorus_fx(emu8000_t *emu, int mode, const void *buf, long len)
{
soundfont_chorus_fx_t
rec
;
if
(
mode
<
SNDRV_EMU8000_CHORUS_PREDEFINED
||
mode
>=
SNDRV_EMU8000_CHORUS_NUMBERS
)
{
snd_printk
(
KERN_WARNING
"i
llegal
chorus mode %d for uploading
\n
"
,
mode
);
snd_printk
(
KERN_WARNING
"i
nvalid
chorus mode %d for uploading
\n
"
,
mode
);
return
-
EINVAL
;
}
if
(
len
<
(
long
)
sizeof
(
rec
)
||
copy_from_user
(
&
rec
,
buf
,
sizeof
(
rec
)))
...
...
@@ -787,7 +787,7 @@ snd_emu8000_load_reverb_fx(emu8000_t *emu, int mode, const void *buf, long len)
soundfont_reverb_fx_t
rec
;
if
(
mode
<
SNDRV_EMU8000_REVERB_PREDEFINED
||
mode
>=
SNDRV_EMU8000_REVERB_NUMBERS
)
{
snd_printk
(
KERN_WARNING
"i
llegal
reverb mode %d for uploading
\n
"
,
mode
);
snd_printk
(
KERN_WARNING
"i
nvalid
reverb mode %d for uploading
\n
"
,
mode
);
return
-
EINVAL
;
}
if
(
len
<
(
long
)
sizeof
(
rec
)
||
copy_from_user
(
&
rec
,
buf
,
sizeof
(
rec
)))
...
...
sound/isa/sscape.c
View file @
e88425b2
...
...
@@ -809,7 +809,7 @@ static snd_kcontrol_new_t midi_mixer_ctl = {
*/
static
unsigned
__devinit
get_irq_config
(
int
irq
)
{
static
const
int
valid_irq
[]
__devinitdata
=
{
9
,
5
,
7
,
10
};
const
int
valid_irq
[]
__devinitdata
=
{
9
,
5
,
7
,
10
};
unsigned
cfg
;
for
(
cfg
=
0
;
cfg
<
ARRAY_SIZE
(
valid_irq
);
++
cfg
)
{
...
...
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