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
83cb5db9
Commit
83cb5db9
authored
Mar 15, 2004
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
au88x0 driver fix compilation on gcc 2.95.x
parent
b21c3168
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sound/pci/au88x0/au88x0.c
sound/pci/au88x0/au88x0.c
+2
-2
No files found.
sound/pci/au88x0/au88x0.c
View file @
83cb5db9
...
...
@@ -71,6 +71,8 @@ MODULE_DEVICE_TABLE(pci, snd_vortex_ids);
static
void
__devinit
snd_vortex_workaround
(
struct
pci_dev
*
vortex
,
int
fix
)
{
struct
pci_dev
*
via
=
NULL
;
int
rc
;
/* autodetect if workarounds are required */
while
((
via
=
pci_find_device
(
PCI_VENDOR_ID_VIA
,
PCI_DEVICE_ID_VIA_8365_1
,
via
)))
{
...
...
@@ -86,8 +88,6 @@ static void __devinit snd_vortex_workaround(struct pci_dev *vortex, int fix)
if
(
fix
==
255
)
return
;
int
rc
;
/* fix vortex latency */
if
(
fix
&
0x01
)
{
if
(
!
(
rc
=
pci_write_config_byte
(
vortex
,
0x40
,
0xff
)))
{
...
...
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