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
634703d8
Commit
634703d8
authored
Jun 30, 2002
by
Samuel Thibault
Committed by
Petr Vandrovec
Jun 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sound/oss/maestro.c
Disable volume control irq on maestro module unload.
parent
4a91b05f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sound/oss/maestro.c
sound/oss/maestro.c
+9
-0
No files found.
sound/oss/maestro.c
View file @
634703d8
...
@@ -3573,9 +3573,18 @@ maestro_probe(struct pci_dev *pcidev,const struct pci_device_id *pdid)
...
@@ -3573,9 +3573,18 @@ maestro_probe(struct pci_dev *pcidev,const struct pci_device_id *pdid)
static
void
maestro_remove
(
struct
pci_dev
*
pcidev
)
{
static
void
maestro_remove
(
struct
pci_dev
*
pcidev
)
{
struct
ess_card
*
card
=
pci_get_drvdata
(
pcidev
);
struct
ess_card
*
card
=
pci_get_drvdata
(
pcidev
);
int
i
;
int
i
;
u32
n
;
/* XXX maybe should force stop bob, but should be all
/* XXX maybe should force stop bob, but should be all
stopped by _release by now */
stopped by _release by now */
/* Turn off hardware volume control interrupt.
This has to come before we leave the IRQ below,
or a crash results if a button is pressed ! */
n
=
inw
(
card
->
iobase
+
0x18
);
n
&=~
(
1
<<
6
);
outw
(
n
,
card
->
iobase
+
0x18
);
free_irq
(
card
->
irq
,
card
);
free_irq
(
card
->
irq
,
card
);
unregister_sound_mixer
(
card
->
dev_mixer
);
unregister_sound_mixer
(
card
->
dev_mixer
);
for
(
i
=
0
;
i
<
NR_DSPS
;
i
++
)
for
(
i
=
0
;
i
<
NR_DSPS
;
i
++
)
...
...
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