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
c0267f8f
Commit
c0267f8f
authored
Nov 25, 2002
by
Alan Cox
Committed by
Linus Torvalds
Nov 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix crap in cs4281 pm save
parent
6adfceca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sound/pci/cs4281.c
sound/pci/cs4281.c
+2
-2
No files found.
sound/pci/cs4281.c
View file @
c0267f8f
...
@@ -2109,7 +2109,7 @@ static void cs4281_suspend(cs4281_t *chip)
...
@@ -2109,7 +2109,7 @@ static void cs4281_suspend(cs4281_t *chip)
snd_cs4281_pokeBA0
(
chip
,
BA0_HICR
,
BA0_HICR_CHGM
);
snd_cs4281_pokeBA0
(
chip
,
BA0_HICR
,
BA0_HICR_CHGM
);
/* remember the status registers */
/* remember the status registers */
for
(
i
=
0
;
number_of
(
saved_regs
);
i
++
)
for
(
i
=
0
;
i
<
number_of
(
saved_regs
);
i
++
)
if
(
saved_regs
[
i
])
if
(
saved_regs
[
i
])
chip
->
suspend_regs
[
i
]
=
snd_cs4281_peekBA0
(
chip
,
saved_regs
[
i
]);
chip
->
suspend_regs
[
i
]
=
snd_cs4281_peekBA0
(
chip
,
saved_regs
[
i
]);
...
@@ -2153,7 +2153,7 @@ static void cs4281_resume(cs4281_t *chip)
...
@@ -2153,7 +2153,7 @@ static void cs4281_resume(cs4281_t *chip)
snd_cs4281_chip_init
(
chip
,
0
);
snd_cs4281_chip_init
(
chip
,
0
);
/* restore the status registers */
/* restore the status registers */
for
(
i
=
0
;
number_of
(
saved_regs
);
i
++
)
for
(
i
=
0
;
i
<
number_of
(
saved_regs
);
i
++
)
if
(
saved_regs
[
i
])
if
(
saved_regs
[
i
])
snd_cs4281_pokeBA0
(
chip
,
saved_regs
[
i
],
chip
->
suspend_regs
[
i
]);
snd_cs4281_pokeBA0
(
chip
,
saved_regs
[
i
],
chip
->
suspend_regs
[
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