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
ee816b81
Commit
ee816b81
authored
Jul 21, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ensoniq sound driver to new irq serialization
parent
6fdf2906
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sound/pci/ens1370.c
sound/pci/ens1370.c
+2
-2
No files found.
sound/pci/ens1370.c
View file @
ee816b81
...
@@ -1532,7 +1532,7 @@ static int snd_ensoniq_free(ensoniq_t *ensoniq)
...
@@ -1532,7 +1532,7 @@ static int snd_ensoniq_free(ensoniq_t *ensoniq)
outl
(
0
,
ES_REG
(
ensoniq
,
CONTROL
));
/* switch everything off */
outl
(
0
,
ES_REG
(
ensoniq
,
CONTROL
));
/* switch everything off */
outl
(
0
,
ES_REG
(
ensoniq
,
SERIAL
));
/* clear serial interface */
outl
(
0
,
ES_REG
(
ensoniq
,
SERIAL
));
/* clear serial interface */
#endif
#endif
synchronize_irq
();
synchronize_irq
(
ensoniq
->
irq
);
pci_set_power_state
(
ensoniq
->
pci
,
3
);
pci_set_power_state
(
ensoniq
->
pci
,
3
);
__hw_end:
__hw_end:
#ifdef CHIP1370
#ifdef CHIP1370
...
@@ -1720,7 +1720,7 @@ static int __devinit snd_ensoniq_create(snd_card_t * card,
...
@@ -1720,7 +1720,7 @@ static int __devinit snd_ensoniq_create(snd_card_t * card,
#ifdef CHIP1371
#ifdef CHIP1371
snd_ctl_add
(
card
,
snd_ctl_new1
(
&
snd_es1371_joystick_addr
,
ensoniq
));
snd_ctl_add
(
card
,
snd_ctl_new1
(
&
snd_es1371_joystick_addr
,
ensoniq
));
#endif
#endif
synchronize_irq
();
synchronize_irq
(
ensoniq
->
irq
);
if
((
err
=
snd_device_new
(
card
,
SNDRV_DEV_LOWLEVEL
,
ensoniq
,
&
ops
))
<
0
)
{
if
((
err
=
snd_device_new
(
card
,
SNDRV_DEV_LOWLEVEL
,
ensoniq
,
&
ops
))
<
0
)
{
snd_ensoniq_free
(
ensoniq
);
snd_ensoniq_free
(
ensoniq
);
...
...
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